#DopeScott-subscriptions
1 messages · Page 1 of 1 (latest)
@wanton sphinx it did invoice immediately : https://dashboard.stripe.com/test/invoices/in_1JtrRoAB6nXSSVnpNHsOEgtv
it's just that the proration means there was an overall negative amount(the customer gets credited for the unused time on the old plan)
So, I have customer that has spent 9.99 in total.
Now, that I upgraded the plan to a better one, it still is 9.99 spent from this customer
The upgraded plan costs 19.99
I don't understand what you mean exactly
- Created subscription, customer paid 9.99 for it. User total is 9.99 spent on this organization
- Customer gets upgraded to better plan (19.99), customer paid .. nothing?. User total is 9.99 spent on this organization
it's not that simple since you changed this subscription dozens of times so it makes it a lot more complicated https://dashboard.stripe.com/test/invoices?subscription=sub_1JtqJJAB6nXSSVnpM25NU3gv
in a simple example what should happen is
- Created subscription, customer paid 9.99 for it.
- upgrade to 19.99 with always_invoice after an hour
- the invoice has a negative amount(prorated amount of 9.99 (plus or minus some cents, depends how far into the time period it's been) for the rest of the month
- the invoice has a prorated amount for the rest of the month on 19.99
- it should work out to about 10-ish
I'd suggest starting with a fresh customer and subscription and doing that, the problem with this customer is there are so many previous changes it's really hard to understand it in simple terms
Okay, is the billing_anchor_cycle = now by default?
for example you have applied balances involved
(like if an invoice is negative, it adds to the customers balance and that gets offset against future payments, so it really complicates trying to understand things in a simple case)
no
the billing cycle doesn't change when you upgrade the plan, except in specific circumstances(these ones https://stripe.com/docs/billing/subscriptions/upgrade-downgrade#immediate-payment) or if you manually pass billing_cycle_anchor, as I see you did on previous requests on this subscription
Okay, I'll try clearing the subscriptions then and trying again. Thanks for now!
Is there a way to reset customers payments? Without resetting data such as card info?
there is not, I would just create a new Customer instead