#goddas - subscription
1 messages · Page 1 of 1 (latest)
This comes from the previous invoice with the failed payment
The invoice is still expected to be paid, and the subscription credit is separate from the invoice payment
They are getting credit for the unused time on the previous plan
This is very confusing why would they get credit if payment failed and sub cancelled? Do I need adjust 'subscription credit' manually? Or how do i handle this?
How are you updating the subscription?
If you don't want to offer credit for the existing plan, you can disable prorations:
https://stripe.com/docs/billing/subscriptions/prorations#disable-prorations
(when you update the subscription to the new plan)
Otherwise, you may want to block the change until the failed invoice is paid
Or create a new subscription instead of re-activating a pending cancellation
It depends on the flow you're trying to achieve
I do want to use the prorations in cases like when a user upgrades. However this is not the case where I'd think prorations would apply. Situation is quite simple: after the payment failed, subscription cancelled automatically in 3 days. This gave the customer credit of 27days (confused here). I did create a new subscription when customer re-activated, but because of the 27-day credit he was charged the much smaller amount. So what I'm trying to achieve is how to not give 'subscription credit' when a payment fails?
billing is set to 'auto' in stripe if that makes any difference
sec
You need to make sure you handle unpaid invoices when managing upgrades/downgrades
ie, when handling the subscription your should inspect the latest_invoice to ensure it's paid before allow prorated credit
It was a new subscription. So the 1st subscription cancelled. Then when the user re-subbed a new subscription object was created
in_1KZIq1BwEM1EHrL3rpA1ea7D
in_1KHAXABwEM1EHrL3GIHlzbt4 - the original invoice that succeeded
orig sub - sub_1KCA1ZBwEM1EHrL3WZ6kVviS
new sub - sub_1KZIq1BwEM1EHrL3A14tMmAA
Thanks, looking
So when the previous subscription was cancelled, you explicitly oped in to prorate the credit: https://dashboard.stripe.com/logs/req_6SnV7WapJZOtKg
Since the customer was part way through a period, the unused portion was credited
I understand this is not what you expected, but this is how invoices work such that we expect you to collect on past failed payments
If you do credit on cancelation, you should make sure you first check that the latest invoice was paid