PayPal Pro - 2012 User's Guide

Browse online or download User's Guide for Software PayPal Pro - 2012. PayPal Pro - 2012 Integration Guide User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 99
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews

Summary of Contents

Page 1 - Integration Guide

PayPal Pro Integration GuideLast updated: July 2012

Page 2 - PayPal Pro Integration Guide

Getting Started with PayPal ProHow PayPal Pro Works10 Supports Major Credit and Debit Cards - Supports Visa, MasterCard, Carta Aura (processed by Cet

Page 3 - Contents

Getting Started with PayPal ProSeller ProtectionSeller ProtectionIf PayPal is the only payment method on your website, transactions processed through

Page 4

Getting Started with PayPal ProPayPal Express Checkout Transaction Processing12 Verifying the status of a transaction programatically. To check the i

Page 5

Getting Started with PayPal ProIntroduction to Integrating with PayPal Proplaced on both the product page as well as the shopping cart page and is a g

Page 6

Getting Started with PayPal ProIntroduction to Integrating with PayPal Pro14

Page 7 - Revision History

2Integrating Your Website Using HTMLThis chapter provides instructions for a simple integration that enables you to begin processing transactions usin

Page 8 - Documentation Feedback

Integrating Your Website Using HTMLSimple PayPal Pro Integration16The return URL is appended with a Transaction ID on the query string during the redi

Page 9 - Features and Benefits

17Integrating Your Website Using HTMLHTML VariablesHTML VariablesThe table below lists the PayPal Pro HTML variables you can use to send in additional

Page 10 - How PayPal Pro Works

Integrating Your Website Using HTMLHTML Variables18cancel_returnThe browser will be redirected to this URL if the buyer clicks “Return to Merchant” li

Page 11 - Seller Protection

19Integrating Your Website Using HTMLHTML VariablesreturnThe URL to which the buyer’s browser is redirected to after completing the payment. Be sure t

Page 12

PayPal Pro Integration GuideDocument Number: 10116.en_US-201207© 2012 PayPal, Inc. All rights reserved. PayPal is a registered trademark of PayPal, In

Page 13

Integrating Your Website Using HTMLHTML Variables20

Page 14

213Customising Your PayPal Payment PageYou can customise the look and feel of the PayPal payment page in the following two ways: Modifying Your PayPa

Page 15 - Simple PayPal Pro Integration

Customising Your PayPal Payment PageModifying Your PayPal Account Settings22

Page 16 - Sample Integration

Customising Your PayPal Payment PageModifying Your PayPal Account SettingsSettingsThis page allows you to select the information you want to collect a

Page 17 - HTML Variables

Customising Your PayPal Payment PageModifying Your PayPal Account Settings24What information do you want to show on your PayPal Pro payment page?You c

Page 18 -  Default Value - sale

Customising Your PayPal Payment PageModifying Your PayPal Account SettingsCustomisation

Page 19

Customising Your PayPal Payment PageModifying Your PayPal Account Settings26This page allows you to customise your payment page. You can customise the

Page 20

Customising Your PayPal Payment PageModifying Your PayPal Account SettingsChoosing a TemplateChoose from the following three design templates: Templa

Page 21 - Payment Page

Customising Your PayPal Payment PageModifying Your PayPal Account Settings28Template B. Customise the header, background, title, button, and the order

Page 22

Customising Your PayPal Payment PageModifying Your PayPal Account SettingsTemplate C. Customise the header, background, title, and the button.FIGURE 3

Page 23 - Settings

ContentsPreface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7About This Guide. . . . .

Page 24 - PayPal Pro payment page?

Customising Your PayPal Payment PageModifying Your PayPal Account Settings30Customising Your TemplateConsider the following when you customise your te

Page 25 - Customisation

Customising Your PayPal Payment PageAdding HTML VariablesAdding HTML VariablesThe table below lists the PayPal Pro HTML variables you can use to custo

Page 26

Customising Your PayPal Payment PageAdding HTML Variables32showCustomerNameDisplay customer name (first name and last name). Default Value: true All

Page 27 - Template C

4Integrating iFrame in Your WebsitePayPal offers a compact payment form that can be integrated in an iFrame on your website. Since this form is integr

Page 28 - FIGURE 3.2 Template B

Integrating iFrame in Your WebsiteIntegrating iFrame34Integrating iFrameChoose one of the following methods to integrate the compact payment form in y

Page 29 - FIGURE 3.3 Template C

35Integrating iFrame in Your WebsiteIntegrating iFrame3. Ensure that the target name matches the iFrame name, as highlighted in the example below:<

Page 30 - Customising Your Template

Integrating iFrame in Your WebsiteIntegrating iFrame36Using URL Returned in the ResponseIn the URL identified in the response as EMAILLINK, add “src”

Page 31 - Adding HTML Variables

37Integrating iFrame in Your WebsiteIntegrating iFrameExample of API (Form POST) IntegrationThe complete example as per the above steps is as follows:

Page 32

Integrating iFrame in Your WebsiteIntegrating iFrame38

Page 33 - Integrating iFrame in Your

5Integrating Your Website Using APIUsing the Button Manager API, you can programmatically create the checkout button that initiates the PayPal Pro che

Page 34 - Integrating iFrame

Contents4Chapter 5 Integrating Your Website Using API . . . . . . . . . . . . .39Button Hosting . . . . . . . . . . . . . .

Page 35 - API Integration

Integrating Your Website Using APIUsing the Button Manager API with PayPal Pro Checkout40Using the Button Manager API with PayPal Pro CheckoutTo creat

Page 36

41Integrating Your Website Using APIUsing the Button Manager API with PayPal Pro CheckoutExample of ENCRYPTEDEMAILLINK=https://www.paypal.com/acquirin

Page 37

Integrating Your Website Using APIUsing the Button Manager API with PayPal Pro Checkout42Example for TOKENWEBSITECODE=<form action="https://ww

Page 38

43Integrating Your Website Using APIUsing the Button Manager API with PayPal Pro CheckoutN OTE: The PayPal payment page displays a button identified a

Page 39 - Button Hosting

Integrating Your Website Using APIUsing the Button Manager API with PayPal Pro Checkout44L_BUTTONVAR23=notify_url=www.yourcompany.comL_BUTTONVAR24=cus

Page 40 -  Using Form POST

45Integrating Your Website Using APIBMCreateButton API OperationBMCreateButton API OperationUse the BMCreateButton API operation to create PayPal Pro

Page 41

Integrating Your Website Using APIBMCreateButton API Operation46BMCreateButton ResponseThe response contains an ID if the button is hosted on PayPal,

Page 42

47Integrating Your Website Using APIBMCreateButton API Operation11934 Invalid Data You must specify the same number of entries for option prices and s

Page 43

Integrating Your Website Using APIBMCreateButton API Operation48

Page 44

496Testing Your Integration in SandboxThe PayPal Sandbox is a self-contained environment within which you can prototype and test PayPal features. The

Page 45 - BMCreateButton API Operation

5ContentsGetTransactionDetails API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63GetTransact

Page 46 - BMCreateButton Errors

Testing Your Integration in SandboxCreating a Preconfigured Account50To test your PayPal Pro integration, create a preconfigured account using the fol

Page 47

Testing Your Integration in SandboxCreating a Preconfigured Account3. Choose Italy from the Country drop-down menu.4. Select Website Payments Pro as t

Page 48

Testing Your Integration in SandboxCreating a Preconfigured Account528. Click Enter Sandbox Test Site. The Sandbox Test Site appears in a different br

Page 49 - Testing Your Integration in

Testing Your Integration in SandboxTesting Your Integration and SettingsTesting Your Integration and SettingsThe following sections contain informatio

Page 50

Testing Your Integration in SandboxTesting Your Integration and Settings54Testing Your SettingsTo change the look and feel of your payment page, modif

Page 51

557Order ProcessingThis chapter walks you through the end of end order processing experience. It includes information about verifying the status and a

Page 52

Order ProcessingFulfilling Order56Execute a GetTransactionDetails API CallUsing GetTransactionDetails API, you can obtain information about a specific

Page 53 - Testing Your Integration

8Protecting Buttons by Using Encrypted Website PaymentsUsing Encrypted Website Payments helps secure payment buttons that you generate or write manual

Page 54 - Testing Your Settings

Protecting Buttons by Using Encrypted Website PaymentsPublic Key Encryption Used by Encrypted Website Payments58Public Key Encryption Used by Encrypte

Page 55 - Order Processing

59Protecting Buttons by Using Encrypted Website PaymentsSetting Up Certificates Before Using Encrypted Website PaymentsGenerating Your Private Key Usi

Page 57 - Encrypted Website Payments

Protecting Buttons by Using Encrypted Website PaymentsSetting Up Certificates Before Using Encrypted Website Payments60Downloading the PayPal Public C

Page 58 - Payments

61Protecting Buttons by Using Encrypted Website PaymentsSetting Up Certificates Before Using Encrypted Website PaymentsUsing Encrypted Website Payment

Page 59

Protecting Buttons by Using Encrypted Website PaymentsSetting Up Certificates Before Using Encrypted Website Payments62where the argument is:– CertFil

Page 60

A 63Optional API OperationsUsing the Transaction ID, a number of PayPal API operations are available. The most commonly used for PayPal Pro are: Get

Page 61

Optional API OperationsGetTransactionDetails API64GetTransactionDetails ResponseN OTE: All fields defined in the formal structure of GetTransactionDet

Page 62

Optional API OperationsGetTransactionDetails APIPayer Information FieldsPayer Name FieldsTABLE A.3 Payer Information FieldsField DescriptionEMAILEmail

Page 63 - Optional API Operations

Optional API OperationsGetTransactionDetails API66Address FieldsSUFFIXPayer’s suffix.Character length and limitations - 12single-byte alphanumeric cha

Page 64

Optional API OperationsGetTransactionDetails APIPayment Information FieldsTABLE A.6 Payment Information FieldsField DescriptionTRANSACTIONIDUnique tra

Page 65

Optional API OperationsGetTransactionDetails API68FEEAMTPayPal fee amount charged for the transactionCharacter length and limitations - Does not excee

Page 66

Optional API OperationsGetTransactionDetails APIPAYMENTSTATUSStatus of the payment.The status of the payment: None - No status Canceled-Reversal - A

Page 67

PPrefaceAbout This GuideThe PayPal Pro Integration Guide describes how to integrate with PayPal Pro. It includes information about: Features and bene

Page 68

Optional API OperationsGetTransactionDetails API70PENDINGREASONNOTE: PendingReason is returned in the response only if PaymentStatus is Pending.The re

Page 69

Optional API OperationsGetTransactionDetails APIPayment Item Information FieldsPROTECTIONELIGIBILITYSince version 64.4, the kind of seller protection

Page 70

Optional API OperationsGetTransactionDetails API72Payment Item FieldsAuction FieldsTABLE A.8 Payment Item FieldsField DescriptionL_DESCnAmount of tax

Page 71

Optional API OperationsRefundTransaction APISubscription Term FieldsRefundTransaction APIIssue a refund to the PayPal account holder associated with a

Page 72

Optional API OperationsDoCapture API74RefundTransaction Response DoCapture APICapture an authorized payment. DoCapture Request DoCapture ResponseDoC

Page 73 - RefundTransaction API

Optional API OperationsDoCapture APICOMPLETETYPE(Required) The value Complete indicates that this the last capture you intend to make.The value NotCom

Page 74 - DoCapture API

Optional API OperationsDoCapture API76SOFTDESCRIPTOR(Optional) The soft descriptor is a per transaction description of the payment that is passed to t

Page 75

Optional API OperationsDoCapture APIDoCapture Response  DoCapture Response Fields PayerInfo Type Fields Ship To Address Fields Payer Name FieldsN

Page 76

Optional API OperationsDoCapture API78Ship To Address FieldsBUSINESSPayer’s business name.Character length and limitations - 127 single-byte character

Page 77 - DoCapture Response

Optional API OperationsDoCapture APIPayer Name FieldsTABLE A.17 Payer Name FieldsField DescriptionSALUTATIONPayer’s salutation.Character length and li

Page 78

PrefaceDocumentation FeedbackP8Documentation FeedbackHelp us improve this guide by sending feedback to:[email protected]

Page 79

Optional API OperationsDoCapture API80

Page 80

B 81Moving from Website Payments Standard to PayPal ProIf you are moving from Website Payment Standard to PayPal Pro, you must make the following cha

Page 81

Moving from Website Payments Standard to PayPal Pro82Sample Code ComparisonBelow is a comparison of Website Payment Standard code and PayPal Pro code.

Page 82 - PayPal Pro Code

Moving from Website Payments Standard to PayPal Pro<input type="hidden" name="city" value="San Jose"><input typ

Page 83

Moving from Website Payments Standard to PayPal Pro84

Page 84

C 85Error MessagesThe table below lists error codes and the appropriate correction action.TABLE C.1 Error Codes and the Corresponding Corrective Acti

Page 85 - Error Messages

Error Messages8610507 Your payment can't be processed. Please contact the merchant directly with this code.Your PayPal account is restricted. Con

Page 86

87Error Messages10539 Your payment can't be processed. Please contact the merchant directly with this code.Transaction was declined by fraud filt

Page 87

Error Messages8810552 Your payment can't be processed. Please contact the merchant directly with this code.Merchant account attempting the transa

Page 88

89Error Messages10702 Please enter a valid address in line 1 of the billing address.Buyer should enter a valid address in line 1 of the bill-ing addre

Page 89

91Getting Started with PayPal ProOverviewPayPal Pro is a payment platform allowing merchants to receive payments funded by card or PayPal account.This

Page 90

Error Messages9010719 Please enter a valid addressee name in the shipping address.Buyer should enter a valid addressee name for shipping address.10720

Page 91

91Error Messages10735 Please enter a valid postal code in the shipping address.Buyer should enter a valid postal code in the shipping address.10736 Pl

Page 92

Error Messages9210761 Your payment can't be processed because this transaction appears to be a duplicate of a recent transaction.Transaction was

Page 93

93Error Messages15008 Your payment can't be processed. Please contact the merchant directly with this code.Review your integration to ensure that

Page 94

Error Messages94

Page 95 - Currency Codes

D Currency CodesThe table below lists all the currencies supported by PayPal. TABLE D.1 Currency CodesCurrency Code Country NameAUD Australian Dollar

Page 96

Currency Codes96

Page 97

97IndexAaddress_override 17address1 17address2 17API integration 39Bbackground 30billing_address1 17billing_address2 17billing_city 17billing_country

Page 98

Index98Hhandling 18header 30headerBgColor 31headerHeight 31HOSTED 39HOSTEDBUTTONID 46HTML integration 15HTTP variables 17, 31IiFrames 33API integratio

Page 99

99IndexshowCustomerName 32showHostedThankyouPage 32showShippingAddress 32simple integration 15state 19subheaderText 32subtotal 19Ttax 19template 32Tem

Comments to this Manuals

No comments