#kenicky_api
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1405354365899767951
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello! do give me some time to take a look at this
Sounds like you want the subscription to have a free trial period for 30 days?
Instead of coupons, you might be interested in using the subscription.trial_period_days field instead [0].
[0] https://docs.stripe.com/api/subscriptions/create?#create_subscription-trial_period_days
If you are interested to read up more about using trial periods on subscriptions, you can take a look at this doc: https://docs.stripe.com/billing/subscriptions/trials
ok. We will consider that subscription.trial_period_days but is it possible to use coupon for trial periods?
Do you mean using a 100% off coupon over a period of time to simulate a trial period?
yes. that!
Any invoice that is generated during the duration of the coupon would be 0 dollars due to the 100% percent off.
In the example you provided, for a yearly subscription, the customer would pay 0 dollars for the first payment because that payment falls within the duration of the coupon.
Hence, you wont be able to achieve the behavior you desire with coupons
Is there a reason for using coupons?
It was just suggested in our team. And we thought that could make it easier for us.
so using subscription.trial_period_days, is the correct way of doing it, right?
question...
so coupon are generally used for payment/transaction? is that right?
another question is if we use subscription.trial_period_days = 30 days today, then the real payment starts next month?
in the invoice, there will be 2 entries:
- trial period = 0% for the 30 days
- real subscription starts (next month) = annually.
does my questions make sense?
do give me some time to take a look at your questions
sure.
You can still use coupons for subscriptions. Just that the coupon will be applied all invoices for the subscription, for the duration of the coupon
Yes the real payment starts next month and an invoice will be sent in that month. This paid subscription will continue for a duration of a year. So total time the customer enjoys the subscription will be 1 year 1 month.
In case you haven't seen this yet, you can use test clocks to mimic the passing of time : https://stripe.com/docs/billing/testing/test-clocks