#ddbg - change coupon

1 messages ยท Page 1 of 1 (latest)

forest acorn
#

I wanted to know if it's possible to change a subscription's coupon to another one? Many thanks!
Yes, you can pass the ID of the new coupon in to the coupon parameter when making a subscription update call https://stripe.com/docs/api/subscriptions/update#update_subscription-coupon

zenith widget
#

Hey Pompey, thank you for yoour fast reply!!!

#

is it possible to update the coupon directly on the stripe's web dashboard please?

forest acorn
#

I am not as familiar with that. Are you on the Dashboard page for the subscription and not seeing anything?

zenith widget
#

I'm not sure to find the coupon on the subscription page on my test dashboard :/

forest acorn
#

I will see if I can find it on my test dashboard. One moment...

zenith widget
#

thanks a loot @forest acorn !

#

ahh maybe I've found

#

I looked up in the coupons page and then can see what subs are attached

#

but can't update the coupon attached to a sub :/

forest acorn
#

Yeah I am not seeing anything in my dashboard either.

zenith widget
#

ahh I found! it's in the subscription page, I can upadte the coupon!

forest acorn
#

Good find! Where is the button for it?

zenith widget
#

I van even remove it

#

can I send a screen here?

#

do you know if the new coupon will be effective directly please?

forest acorn
#

I think it should be. The subscription page should be able to give you a preview of the next payment. Is it not showing the new coupon's discount on the subscription page?

#

Can you send me the ID of the subscription?

#

A screenshot would work too but I can look in to the ID a bit easier

zenith widget
#

sure, should I update the coupon before I send you the id (it's on my Stripe's test environment)?

forest acorn
#

Yes, that sounds great

zenith widget
#

๐Ÿ‘Œ

#

sub_1KjM4GFxsE4pn4oa4mx25ZEv

#

just updated the old coupon (discount for 2 months) to the new one (discount for 3 months)

#

looks like it has been updated!

forest acorn
#

Nice! I see the 3 month discount on the subscription's page and it looks like the discount will be applied to the next payment. Does that part look right to you?

zenith widget
#

but does that mean, if I was on my second last month with the old coupon, I update with the new coupon of 3 months, the client will have 3 more months?

forest acorn
#

Yes. If you want them to only have one more month, you will probably want to make a 1 month coupon and apply that instead