New to the community? Welcome! Please read our Community Rules and Guidelines
Hi,
I am using paypal php rest api.
I want to apply discount code or coupon or overide the recurring amount of plan for diffrent customers or on few of them.
for more clear wanted to add coupon or discount in subscription plan at the time of billing agreement, how would i achieve it as i am not able to find the way please suggest me.
Thank you
Hello,
I am curious as to this answer as we are doing the same thing. We have subscriptions set up using Billing Plans but customers can use coupon codes for discounts to the plan price.
Seems not possible, WTH?
I also could not find anything in paypal documentation.
https://developer.paypal.com/docs/api/payments.billing-plans/v1/
So we're using the REST API and writing our own JS to use it vs using a shopping card. This means if you want to use coupon code you get to code it yourself because the API lends no support in doing this. The folks in support confirmed this.
Since this is such an incredibly large portion of ecommerce it's difficult to comprehend how something so elementary can be left out causing extra dev to use PayPal which is not required in anyway on a platform like Stripe where it is included...
I agree Bobsenoff,
We've been waiting over a year for this to be added. Our customers don't understand why they can add coupon codes to Credit Card subscriptions (Stripe) but not PayPal subscriptions (Billing Agreements).
Let's hope coupon code support is added for Billing Agreements soon.
If you're using the REST API you have to code it yourself.
©1999-2019 PayPal, Inc. All rights reserved.