#amontagu_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/1365267098284199986
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there!
hi !
I'm not sure I understand your question. what exactly are you trying to do?
Set a phase in a subscription for the next month with 50% off
but it put the 50% permanently
not only for the next month
is it more clear or do you need any more informations ?
you could add a 50% off couton that only lasts one month
It is what I do no ?
I specified the end date in the cal
Hooo you mean the coupon need to last one month ? Not the phase ?
But imagine the sponsor of the referral program have a new referrer
I just want to add the discount phase of one month with creating a new discount
It work when I add a phase after the discounted phase so it might work as I want no ?
if your goal is just to add a coupon for one month, you don't need subscription schedule. just add a coupon that has duration: once https://docs.stripe.com/api/coupons/create#create_coupon-duration
Yes but they can stack
what do you mean?
If the sponsor has 2 referer in the same day for example (2 people using its sponsor code)
I want him to have the next 2 following month with the 50% off
got it. in this case use phases, but each phase would have a coupon with duration: once
Hum I don’t like this
I think creating a other phase at the end of the coupon phase will do the work without me having to create a new coupon each time
But thanks for the response