#rian_unexpected

1 messages · Page 1 of 1 (latest)

viral skiffBOT
#

👋 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/1407731713941176360

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

dawn kestrel
hollow osprey
#

Any discounts previously applied to the subscription and affecting the amount of the proration are reflected in the proration invoice item’s amount.

#

doesnt that imply that invoice item prorations can be disacountable? as it can affect the amount of the proration

#

otherwise like, users can just upgrade for free? if they have a discount

#

and if they have a multi month coupon we would still like for them to keep it if they upgrade, but instead it prorates and gives them greater than what they paid then discounts the upgrade anyways

dawn kestrel
#

Hi sorry juggling multiple threads

#

I think I misunderstood what you were saying initially

#

If the subscription already had a discount applied (as in the case of your example), then the resulting proration from a subscription update will have an amount affected by the discount

#

Looking into the specific example you shared to see what's going on here

hollow osprey
#

and thank you!

dawn kestrel
#

Ah ok

#

It's also important to note that prorations are calculated based on what the customer already paid

#

So this discount was applied after the first invoice was created

#

So they never actually paid an invoice previously with this discount applied

#

The scenario would have been different if the subscription was created with this discount

#

And the first invoice had the discount applied

hollow osprey
#

ah! I see, that makes sense

#

I feel like that complicates things 😅 since then if I only want the discount to apply after their first month, i'd have to wait until their billing cycle is almost up before applying it rather than when they redeem

dawn kestrel
#

Hm I don't understand why you'd have to wait

#

Like in your example the discount should still be applied after the first month

hollow osprey
#

Basically, my scenario is that there is a retention promotion going on right now, where if a user cancels, we offer a coupon so they can continue using our product, but in the case where they buy 1 month, then attempt to cancel (this is where they are offered a coupon), my preferred scenario is that they would still pay the extra $10 when they upgrade, and have the coupon applied the second month

#

otherwise they buy 1 month, then cancel for the discount, then get the $10 upgrade for free, then cancel anyways and get churned

dawn kestrel
#

Ok just to clarify here, is the price upgrade a part of the promotion? Or is the 50% off coupon the promotion and the price upgrade a separate action the user is taking?

hollow osprey
#

for simplicity ill just call it Product A and B, the 50% is the promotion (actually a 25$ flat rate), and the upgrade to product B is a separate action, but it can keep the promotional discount

#

but in this user's case, they are using the promotion to get product B's upgrade for free

#

during their first month when its a coupon that is aimed at retaining them as a user for the second month

dawn kestrel
#

Ah ok I understand now

#

So you want the $25 off to be applied to the next invoice not the first one after upgrade

#

Yeah so you can either schedule an update to apply the coupon

#

via subscription schedules

#

or just wait to apply it manually

hollow osprey
#

i dont believe subscription schedules can be managed via billing portal correct? and id have to migrate subscriptions to subscription schedules for it to work, and if i schedule a job to apply it manually, it wont be reflected in stripe either

#

i dont believe subscription schedules can be managed via billing portal correct?

if this is true then ill have to consider my options and make some large changes I guess

dawn kestrel
#

Correct you can't manage that from the billing portal

#

You want some niche, specific behavior here

#

And the billing portal is meant to be a very general kinda catch-all thing

#

For more specific use-cases you'd have to write custom code

hollow osprey
#

okay got it, thank you very much for your help! I'll work on a path forward from here

dawn kestrel
#

No problem