#beastboy_subscription-upgrade

1 messages ¡ Page 1 of 1 (latest)

empty warrenBOT
#

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

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

thick flameBOT
#

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.

potent comet
#

Also for the code above, I was moving that subscription from a 3 month billing cycle to a 1 month billing cycle product here, but it still stayed at 3 months. Why and how to fix this?

hollow needle
#

beastboy_subscription-upgrade

#

@potent comet we only support prorating based on time. If someone paid $300 for a month and used 2 days, then they shouldn't be owed the full $300, they should be owed a portion of what they paid because they already used part of it.
I know 2 days seems small but let's say they change their mind after 29 days, would you refund the full amount?
When you think about it like that, it's why we refund up to the exact time used.

potent comet
#

It makes sense why you guys have it, except we're selling physical products. So in our case it doesnt make sense

hollow needle
#

still feels weird if they do this the last day of the month no?

potent comet
#

Not in our case

hollow needle
#

But what you can do is pass the proration_date parameter and set it to the Subscription's current_period_start

potent comet
#

Because that should ideally never happen

#

oo let me try

#

ok that works great!

#

I see that if I go from $500 -> $300, the $200 gets added to the customer's credit balance - is it possible to just give them a refund of $200 instead?

hollow needle
#

we don't have any feature like this no. You'd have to handle the refunding part yourself. Basically find their $500 PaymentIntent, refund that partially and then clear the credit balance

potent comet
#

got it

#

tyvm