#arggh-subscription
1 messages · Page 1 of 1 (latest)
...or is this what I'm looking for? Just noticed under the "Use customer-facing coupon codes" (assuming I can change the expiry date whenever & that it works as I think it would)
If this is the case I apologise for a silly question. I was very thorough when studying the Coupons API, completely missing Promotion Codes right next to it 🤦♂️
Applying coupon with 100% off sounds about right for free subscription with no deadline, and you can update the subscription with coupon removed afterwards
- create a coupon with 100% off forever: https://stripe.com/docs/api/coupons/create
- add coupon during subscription creation: https://stripe.com/docs/api/subscriptions/create#create_subscription-coupon
- remove coupon when you decide to charge a customer: https://stripe.com/docs/api/subscriptions/update
Thank you. I just noticed that deleting the coupon won't work since it will still apply to customers who already have the coupon applied. Instead we have to remove it specifically from each subscription, which could be in the thousands. So I guess we need to write some code for this after all..
Also realised that the Promotion Code's expires_at attribute, should it work for our use case otherwise, can't be updated (when we finally know the exact date to end the free-mode).
Seems your suggestion is the only way to achieve this and that it requires some code to work.
Yup, there's no good way to control bulk free subscription with single promo code