#TonyS
1 messages ยท Page 1 of 1 (latest)
and the subscription schedule ID?
still investigating
Ok !
ok I figured it out
it all happened in this request
https://dashboard.stripe.com/test/logs/req_mk87swMuLzzN9E
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
when you created the new phases of your subscription schedule you didn't specify the discount/coupon
Ho ok we need to specify it every time ?
yes unfortunately updating a phase "overrides" the phase's details
Ok, what if the code is usuable only once?
https://stripe.com/docs/api/subscription_schedules/update#update_subscription_schedule-phases-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.
by putting it in the schedule it will be used twice ?
I'm not sure, we'd have to test it honestly
Ok so theoratically we should check the amount of time the coupon could be used and add it or not
yes you can do that
Ok thank you very much, have a great day
Wait I have another question
How could we retrieve the discount code from a subscription?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thank you so much!