Paypal Advanced Payment and PayFlow Link with Reccuring Payments

笑着哭i 提交于 2019-12-05 21:55:34

Yes, although you have to do it in something of a roundabout way when you're using PayPal Payments Advanced/Payflow Link.

If your buyer is going to use a credit card to pay for the profile, you'll need to run a transaction first, grab the PNREF of the transaction, then use that to create the recurring billing profile. Chapter 2 of the Payflow Gateway guide (https://www.paypalobjects.com/webstatic/en_US/developer/docs/pdf/payflowgateway_guide.pdf) should help you figure out how to run the initial transaction; the Recurring Billing Service Guide should help you with setting up the recurring billing profile (https://www.paypalobjects.com/webstatic/en_US/developer/docs/pdf/pp_payflowpro_recurringbilling_guide.pdf -- there are specific examples on page 16, under "Converting an Existing Transaction Into a Profile").

If your buyer is going to pay with PayPal (which is a real possibility when you use PayPal Payments Advanced or Payflow Link), you'll need to run a transaction, get them to sign up for a billing agreement at the same time, then use the billing agreement to create the recurring billing profile. When you set up your transaction (Chapter 2 of the Payflow Gateway guide, same link as above), pass BILLINGTYPE=MerchantInitiatedBilling (piece of advice -- you need to get approved by PayPal before you do this). When the buyer completes the payment, PayPal will give you a BAID back -- pass the BAID in when creating the recurring billing profile. (Again, the Recurring Billing Service Guide has examples of this, on page 16, under "Adding a New Profile for a PayPal Account".)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!