#frallain-schedule-coupon
1 messages · Page 1 of 1 (latest)
Hi 👋 yes, if you don't want a new phase to remove an existing Coupon from a Subscription, then the next phase will need to also pass the ID of the Coupon.
You can use test clocks to quickly run through the lifecycle of your Subscription Schedule and see exactly how it will behave from beginning to end:
https://stripe.com/docs/billing/testing/test-clocks
so it's OK to specify a coupon even if it is expired?
What do you mean by an expired coupon? Is that a Coupon that you've deleted, or one that has exceeded the max_redemptions?
e.g. a once coupon that's gonna be used for the first phase, but is still specified for the second phase
in this case, will it be re-used as a new instance of the coupon?
Ah, once defines the duration of a Coupon's impact on recurring payments rather than an expiration. I believe the exact behavior will depend on how your phases line up with the billing periods for your Subscription. If the first Invoice has already been generated and discounted as expected, then I don't think there is a need to preserve a once coupon unless you are hoping to use it on another Invoice.
ok interesting, so a once coupon can be re-used multiple times on a same subscription right?
Correct, it will only apply to a single Invoice when added, but it can be added multiple times to apply to impact multiple Invoices.
alright, I'll check the exact behavior with scheduling coupons with the test clock
awesome!