#VmC
1 messages · Page 1 of 1 (latest)
You would need to specify the coupon when you create the subscription: https://stripe.com/docs/api/subscriptions/create#create_subscription-coupon
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Or update it with the coupon: https://stripe.com/docs/api/subscriptions/update#update_subscription-coupon
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
So
I have 3 products that are actually subscriptions
When I go to products > Coupons
Under "Applicable Products" I only see 2 of them
Can I add a third one? Because if I just use the discount code on checkout it will not work as the discount is not applicable to that subscription
Oh ok I understand now
No you can't update coupons unfortunately
You'll need to create a new coupon
What if I need the same code? If I delete the old coupon will anything happen?
Coupon code needs to stay the same as it is posted on most of our social media
If I delete it and just quickly create an identical one is there a problem ? Will the users that subscribed using the old one have any problems?
When you delete a coupon, existing users of the coupon aren't impacted, but no one new will be able to use that code
I'm not actually sure if you can use the same code
I recommend trying that out in test mode first though
Gotcha. No worries
the junior inside me would have "tested in prod" :))
Yeah I recommend always testing everything first in test mode
Will do! Thanks a lot!
You can create test subscriptions using our test cards too and apply the code to check your flow: https://stripe.com/docs/testing