#Unai Pérez - coupon
1 messages · Page 1 of 1 (latest)
Okey 🙂
Can you give more information about your use case so I can try to reproduce?
- The coupon is one-time or repeating?
- How do you ake the coupon expire? With a promotion code and
expires_at? https://stripe.com/docs/api/promotion_codes/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I have a coupon that expires today at 11AM. This coupon applies a discount for two months. In case the coupon has been expired, will the discount be applied in one month?
Sorry for bad english
Thanks for the clarification!
It looks like the coupon still applied to the subscription even if it was expired.
If you want to test this yourself, you can use https://stripe.com/docs/billing/testing/test-clocks
Okey thank you so much for the help!