#rorrona

1 messages · Page 1 of 1 (latest)

fleet raftBOT
#

Hello! We'll be with you shortly. 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.

harsh sapphire
#

hi there!

#

how are you updating the Subscription exactly?

sinful tinsel
#

i am just using the stripe customer portal

#

right now it seems that when the user reduces the amount of subscription items, it refunds some of the unused time

harsh sapphire
#

ah yes, with the customer portal you have a limited control, so you can't do proration in one case and no proration in the other

#

but it would be possible if you call the Subscription update endpoint yourself

sinful tinsel
#

I see. How about the behaviour of subscription when proration is disabled? So the quantity changes, but no charges until the next billing cycle right?

harsh sapphire
#

I'm not sure I understand your question. you mean what would happen when changing the quantity in the customer portal with proration disabled?

harsh sapphire
#

So the quantity changes, but no charges until the next billing cycle right?
yep. but I recommend testing this in test mode to make sure it works as you expect

sinful tinsel
harsh sapphire
#

depend exactly what you want to do, but you should probably listen to webhook events

sinful tinsel
fleet raftBOT
sinful tinsel
#

I don't really care about the future ones as I am going to fix it haha

#

but I am focusing on fixing the refunded accounts instead, so it would help a lot if there is an easy way to do that.

royal flare
#

Hi! I'm taking over from my colleague. Please, give me a moment to catch up.

#

I am not sure if it actually refunds for unused time. It's rather adding credits to customer balance that then are automatically used on the next invoice.

sinful tinsel
#

So, is there an easy way to search for customers that get the credits from subscription proration?

royal flare
#

Not sure there's a straightforward way. You would need to search for Invoices that have proration items on them, and then pull the associated Customers.

sinful tinsel
#

that's all from me

#

thanks a lott

royal flare
#

Happy to help.