PayPal Website Payments Pro - 2012 - Hosted Solution Guide de l'utilisateur

Naviguer en ligne ou télécharger Guide de l'utilisateur pour Logiciel PayPal Website Payments Pro - 2012 - Hosted Solution. PayPal Website Payments Pro - 2012 - Hosted Solution Integration Guide Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 99
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
Website Payments
Pro Hosted Solution
Integration Guide
Last updated: July 2012
Vue de la page 0
1 2 3 4 5 6 ... 98 99

Résumé du contenu

Page 1 - Integration Guide

Website Payments Pro Hosted Solution Integration GuideLast updated: July 2012

Page 2

Getting Started with Website Payments Pro Hosted SolutionHow Hosted Solution Works10 Support for 3-D Secure Buyer Authentication Protocol - 3-D Secur

Page 3 - Contents

Getting Started with Website Payments Pro Hosted SolutionValue-Added Services1. Generate a button in your website checkout flow using HTML or API solu

Page 4

Getting Started with Website Payments Pro Hosted SolutionPayPal Express Checkout Transaction Processing12Recurring PaymentsRecurring Payments is a sch

Page 5

Getting Started with Website Payments Pro Hosted SolutionIntroduction to Integrating with Hosted SolutionFor complete details on PayPal Express Checko

Page 6

Getting Started with Website Payments Pro Hosted SolutionIntroduction to Integrating with Hosted Solution14

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 Hosted Solution Integration16The return URL is appended with a Transaction ID on the query string during the

Page 9 - Payments Pro Hosted Solution

17Integrating Your Website Using HTMLHTML VariablesHTML VariablesThe table below lists the Hosted Solution HTML variables you can use to send in addit

Page 10 - How Hosted Solution 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 - Value-Added Services

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 - Recurring Payments

Website Payments Pro Hosted Solution Integration GuideDocument Number: 10112.en_GB-201207© 2012 PayPal, Inc. All rights reserved. PayPal is a register

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

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 Website Payments Pro Hosted S

Page 18 -  Default Value - sale

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

Page 19

Customising Your PayPal Payment PageModifying Your PayPal Account Settings26N OTE: Your buyers will not see the payment page until you have completed

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 - Solution

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 Hosted Solution HTML variables you can use to

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 Hosted Solutio

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 Hosted Solution Checkout40Using the Button Manager API with Hosted Solution Checko

Page 36

41Integrating Your Website Using APIUsing the Button Manager API with Hosted Solution CheckoutExample of ENCRYPTEDEMAILLINK=https://www.paypal.com/acq

Page 37

Integrating Your Website Using APIUsing the Button Manager API with Hosted Solution Checkout42Example for TOKENWEBSITECODE=<form action="https

Page 38

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

Page 39 - Button Hosting

Integrating Your Website Using APIUsing the Button Manager API with Hosted Solution Checkout44L_BUTTONVAR23=notify_url=www.yourcompany.comL_BUTTONVAR2

Page 40 -  Using Form POST

45Integrating Your Website Using APIBMCreateButton API OperationBMCreateButton API OperationUse the BMCreateButton API operation to create Hosted Solu

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 Hosted Solution integration, create a preconfigured account using th

Page 47

Testing Your Integration in SandboxCreating a Preconfigured Account3. Choose United Kingdom from the Country drop-down menu.4. Select Website Payments

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 Hosted Solution are:

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 Website Payments Pro Hosted Solution Integration Guide describes how to integrate with Hosted Solution. It includes inform

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 Hosted SolutionIf you are moving from Website Payment Standard to Hosted Solution, you must make the fol

Page 81 - Hosted Solution

Moving from Website Payments Standard to Hosted Solution82Sample Code ComparisonBelow is a comparison of Website Payment Standard code and Hosted Solu

Page 82 - Hosted Solution Code

Moving from Website Payments Standard to Hosted Solution<input type="hidden" name="city" value="San Jose"><inpu

Page 83

Moving from Website Payments Standard to Hosted Solution84

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 Messages8610505 Your payment can't be processed. Please contact the merchant directly with this code.Transaction was refused because the AV

Page 86

87Error Messages10536 Your payment can't be processed. Please contact the merchant directly with this code.All shopping cart items must be in the

Page 87

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

Page 88

89Error Messages10560 Please enter a valid card issue number.Buyer should enter a valid card number.10561 Please enter a complete billing address.Buye

Page 89

91Getting Started with Website Payments Pro Hosted SolutionOverviewWebsite Payments Pro provides an all-in-one package of a gateway, a merchant accoun

Page 90

Error Messages9010706 Please enter a valid ZIP code in the billing address.Buyer should enter a valid zip code in the billing address.10707 Please ent

Page 91

91Error Messages10723 Please enter a valid state in the shipping address.Buyer should enter a valid state in the shipping address.10724 Please enter a

Page 92

Error Messages9210746 Your payment can't be processed. Please contact the merchant directly with this code.Credit card from this country is not s

Page 93

93Error Messages10763 Your payment can't be processed. Please contact the merchant directly with this code.None - this is a PayPal internal error

Page 94

Error Messages9415007 Your card is expired. Please pay with a valid card.Transaction was declined by the issuing bank because of an expired credit car

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

97IndexNumerics3-D Secure 10, 24Aaddress_override 17address1 17address2 17API integration 39Bbackground 30billing_address1 17billing_address2 17billin

Page 98

Index98GGetTransactionDetails API 56, 63Hhandling 18header 30headerBgColor 31headerHeight 31HOSTED 39HOSTEDBUTTONID 46HTML integration 15HTTP variable

Page 99

99Indexshipping 19showBillingAddress 32showBillingEmail 32showBillingPhone 32showCustomerName 32showHostedThankyouPage 32showShippingAddress 32simple

Commentaires sur ces manuels

Pas de commentaire