#jin-subscription-cancelandrefund

1 messages ยท Page 1 of 1 (latest)

mighty quarryBOT
#

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.

thorn veldt
#

@fallen lantern sadly no ๐Ÿ˜ฆ

#

jin-subscription-cancelandrefund

fallen lantern
#

oh, it's only possible from the dashboard?

thorn veldt
#

correct. In the API you basically have to build this logic yourself. It's not too hard but definitely a bit annoying ๐Ÿ˜ฆ

fallen lantern
#

I'm confused, so what does exactly the Prorate flag do?

thorn veldt
#

have you tried?

#

So you have to write code to basically refund that amount back to your Customer based on their recent Charge(s) and then zero out the balance

fallen lantern
#

ok cool. That works, I can fetch the credit total and balance it out from last charge

#

thanks

thorn veldt
#

note that the balance can be higher than the last charge so you need some "recursion" to go to the previous one until you're at 0

fallen lantern
#

๐Ÿ‘

#

is there a way to preview what will be the prorated amount before canceling?

thorn veldt
fallen lantern
#

thank you

thorn veldt
#

let me know if you have more questions after trying to implement this in Test mode!