0
votes

i am using Paypal manager for the payment i successfully done with credit card payment with recurring payment profile from my website using PayPal manager. but now i want do recurring payment with express checkout using Paypal manager with recurring payment. i am able to do simple direct payment with express checkout using PayPal manager. i found some solution from google that we need to pass two variable

L_BILLINGAGREEMENTDESCRIPTION0 = "Your descriptor"

L_BILLINGTYPE0 = "RecurringPayments"

But i am not able to do recurring payment. I am not getting any error. but my payment have done simple payment not recurring.

Thanks in advance..

1

1 Answers

0
votes

There are two things with Express Checkout. First you need to let know the whole process that you will also create some recurring payment profiles.

For that you set BillingType as RecurringPayments when you do doExpressCheckout request. You will get the Token from paypal and later when user will be back on your site to confirm payment after signing in to Paypal you can use this token to create recurring payment profile the same way as you have done that with credit card.

So after confirming instead of sending doExpressCheckoutPayment you send createRecurringPaymentProfile request.

Of course you can also send doExpressCheckoutPayment if you want also to do some additional payment that is not recurring.