Help Article

How do I set up Express Checkout with Recurring Billing in Payflow?

ey click Confirm and you make the "D" ACTION call or DoExpressCheckoutPayment call:
 
"D" ACTION request
 
USER=MERCHANTLOGIN
PWD=PASSWORD
VENDOR=MERCHANTLOGIN
PARTNER=PayPal
TRXTYPE=S
TENDER=P
ACTION=D
TOKEN=EC-4X323426LW1559921
PAYERID=5X4X6FQUMKFVA
AMT=10.00
CURRENCY=USD
ORDERDESC=test order

"D" ACTION response
 
Array
(
[0] => RESULT=0
[1] => PNREF=E34P0A4153B8
[2] => RESPMSG=Approved
[3] => AVSADDR=Y
[4] => AVSZIP=Y
[5] => TOKEN=EC-4X323426LW1559921
[6] => PAYERID=5X4X6FQUMKFVA
[7] => PPREF=0BM04086WX4520323
[8] => CORRELATIONID=1b39c472948c5
[9] => FEEAMT=0.59
[10] => BAID=B-0LT60093PA8952305
[11] => PAYMENTTYPE=instant
[12] => PENDINGREASON=completed
)

In the API response for the "D" ACTION, you get a BAID, which you'll need to use to create the Recurring Billing Profile call.

To create the Recurring Billing Profile, you use an "A" ACTION to Add a Recurring Billing Profile. Use a TRXTYPE of R to specify "Recurring," and you'll pass the BAID as the Reference Point for the TENDER of P for "PayPal."
 
"A" ACTION request
 
USER=MERCHANTLOGIN
PWD=PASSWORD
VENDOR=MERCHANTLOGIN
PARTNER=PayPal
ACTION=A
TENDER=P
TRXTYPE=R
PROFILENAME=UserProfile
BAID=B-0LT60093PA8952305
AMT=1.00
START=03112011
TERM=0
PAYPERIOD=MONT
MAXFAILEDPAYMENTS=0
RETRYNUMDAYS=5
EMAIL=customer@domain.com
DESC=RecurringProfile
COMPANYNAME=CustomerCompany

"A" ACTION response
 
Array
(
[0] => RESULT=0
[1] => RPREF=R2550A40FC1D
[2] => PROFILEID=RT0000000006
[3] => RESPMSG=Approved
)

The PROFILEID is the PROFILE ID that you see in your https://manager.paypal.com account.

For more information, consult the Express Checkout for Payflow Guide.
We're sorry. The page you're looking for is no longer available. To search again or contact us, please visit our Help Centre.