#Honkhonk-sbuscriptions

1 messages · Page 1 of 1 (latest)

thorn sparrow
#

hi, I'll have a look

lunar pendant
#

Thanks so much sorry about the trouble.

thorn sparrow
#

so yeah, in https://dashboard.stripe.com/logs/req_tH9Xu4Xzoql5HS your PHP integration updated the subscription.

You moved it from one pricing plan to another (looks like a similar tiered plan but every tier is divided by 10).

You used prorate:true which means we prorate for the difference. Since you're moving from a more expensive plan to a cheaper one, the customer gets a credit for 'unused' time(i.e. the invoiced amount from the start of the cycle is refunded proportionally for the remaining time ). That's what it is on that invoice in_1LFqBeFiKnP5OgWMh05fsaSH

lunar pendant
#

I do indeed see that, but the invoice failed, so why would it prorate them?

thorn sparrow
#

it's just how it works, it's based on the amount invoiced for, not necessarily what was actually paid

lunar pendant
#

Ahh ok I see. Assuming this invoice fails entirely, will the credit also disappear or should we do that manually do you think?

thorn sparrow
#

nope, the credit will stay where it is based on the payment of the second, negative invoice, you can clear it manually from the customer's balance if you don't want that credit to get applied onto any further invoices

lunar pendant
#

Alright very well, I understand. Thank you for your feedback. That is an interesting quirk I did not know about, but good to know.

#

Thanks a lot for the help 🙂