PayPal Website Payments Pro - 2010 - Recurring Payments Payflow Edition User's Guide Page 18

  • Download
  • Add to my manuals
  • Print
  • Page
    / 66
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 17
Creating Recurring Payments Profiles
Example: Creating a Recurring Payments Profile For Billing a PayPal Account
18 Payflow Recurring Payments Developer’s Guide
Example: Creating a Recurring Payments Profile For Billing a
PayPal Account
To create a Recurring Payments profile for a PayPal account, you must call Set Express
Checkout and pass the following parameter information:
z The billing type value RecurringPayments (required)
z A description of the goods or services associated with the agreement (required)
The example below passes the billing type and descriptions for two billing agreements. The
parameters required to create the Recuring Payments profile are in boldface.
Set Express Checkout Request
"TRXTYPE=A
&USER=User
&TENDER=P
&PARTNER=PayPal
&VENDOR=Vendor
&PWD=Pwd
&ACTION=S
&AMT=10.00
&RETURNURL=http://...
&CANCELURL=http://...
&CURRENCY=USD
&L_BILLINGTYPE0=RecurringPayments
&L_BILLINGAGREEMENTDESCRIPTION0=Time magazine
&L_BILLINGTYPE1=RecurringPayments
&L_BILLINGAGREEMENTDESCRIPTION1=Newsweek magazine
&SHIPTOCITY=San Jose
&SHIPTOCOUNTRY=USA US
&SHIPTOSTATE=CA
&SHIPTOSTREET=1 Main St
&SHIPTOZIP=95131
&PAYMENTTYPE=any"
Set Express Checkout Response
RESULT=0
&RESPMSG=Approved
&TOKEN=EC-5FA74536B1724550T
&CORRELATIONID=e8f1f97944872
When creating the recurring payments profile with ACTION=A, you pass the TOKEN returned in
the Set Express Checkout response, along with the following parameters:
z The L_BILLINGAGREEMENTDESCRIPTIONn string (exactly as it was passed in the call to
Set Express Checkout) for the profile you want to create
z TENDER type P to identify the recurring payments as billing a PayPal account
z The TOKEN returned in the Set Express Checkout response
Page view 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 65 66

Comments to this Manuals

No comments