#gabriele-frattini_docs

1 messages Ā· Page 1 of 1 (latest)

stone scrollBOT
#

šŸ‘‹ 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/1233317625589796914

šŸ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

sterile vineBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

unkempt pulsar
#

(Sorry for not responding yesterday. Time flew by)

#

To clarify from yesterdays confusion. We want the discount to re apply

sterile vineBOT
lavish jacinth
#

hello! so you want the discount to reapply for another 12 months?

#

Can you share the specific Subscription id?

unkempt pulsar
#

Yes for another 12 months

stone scrollBOT
orchid kestrel
#

šŸ‘‹ taking over for my colleague. Let me catch up.

unkempt pulsar
#

Ok!

orchid kestrel
#

would you mind sharing the subscription iD meanwhile?

unkempt pulsar
#

Yes 1 min

orchid kestrel
#

take your time

unkempt pulsar
#

Does it start with plan_ or prod_?

orchid kestrel
#

no it should be sub_xxx

unkempt pulsar
#

Ok

#

sub_1MxFtfILgSZ3iaDEVRIFy18X

orchid kestrel
#

let me take a look

#

We have a coupon that is valid for 12 months that we apply on a subscription when a user signs up for a year.
the subscription you provided has a monthly price not yearly

unkempt pulsar
#

They are binded for a year, don’t know if that’s the correct term

#

They will pay monthly but they have to do so for 12 months

orchid kestrel
#

ok

unkempt pulsar
#

So they get a discount because they commit to a year basically

orchid kestrel
#

ok

#

what's the issue then?

unkempt pulsar
#

When they commit to another year, the discount is not applied

#

Which makes sense I guess because we have set a duration of 12 months on the coupon but we want the possibility to reset its duration, if the user signs up for another year

#

When we use the subscription.update api

orchid kestrel
#

I guess your case is better suited for a subscription schedule

#

and then you can reapply the coupon discount for the next phase

unkempt pulsar
#

Ok can you link me the docs to that please?

orchid kestrel
#

yes I was about to

unkempt pulsar
#

But also, I think it would make sense to include a ā€˜resetDuration: Boolean’ parameter in your api for updating a subscription discount

#

Thank you for the link, I will check it out

orchid kestrel
#

But also, I think it would make sense to include a ā€˜resetDuration: Boolean’ parameter in your api for updating a subscription discount
where did you see that?

unkempt pulsar
#

I have not. It’s a feature request from me

orchid kestrel
#

sorry I misread your message