#stripe101-subscription-followup
1 messages ยท Page 1 of 1 (latest)
Hello ๐
yes, that is correct! If its set to be cancelled at the end of the billing cycle, updates still can be made.
And what are the options regarding the invoice that's created when the quantity changes?
Fetch the upcoming invoice and delete the invoice items? Anything else?
Example:
Per unit $5.
Quantity 10.
Feb 1 - Feb 31 billing cycle.
Subscription is set to cancel on Feb 31.
Proration_behavior=none
Quantity changes on Feb 10 to 11.
Upcoming Invoice on Feb 31 is $5.
could you give me a concrete example of what you're trying to do? maybe if you have a subscription id I can look into, that'd help as well
Not sure how to improve upon the example above. Does it make sense to you?
Here is a sub id: sub_1KHu6UKw8DGVSI1LqqrntocK
We're a bit lost unfortunatley. You mentioned Feb 31 (which doesn't exist), this one is for April 5. The example above was unfortunately confusing so we don't grasp what you are asking at all
what's confusing you with that subscription?
Ha yeah noticed that about Feb. It's a sudo example. My bad for making more confusing.
No, the subscription looks to be working correctly.
My questions is, if you note in that subscription, re: the upcoming invoice.
I want to not have that exist essentially.
you have no choice, you have pending invoice items from a past proration
they owe you money so we will invoice them
if you don't want that, you need to avoid proration in general and you need to remove all pending invoice items (you can delete those via https://stripe.com/docs/api/invoiceitems/delete or in the Dashboard)
thank you for confirming that.
aha, proration_behavior=none implies that the full charge is owed. makes sense. ๐
it doesn't mean that either no
when you say "you need to avoid proration in general", what do you mean by this? what are the options?
proration_behavior: 'none' means we don't prorate that specific change, but there are many things that come into play when you change a subscription and you likely are mixing things up and should read https://stripe.com/docs/billing/subscriptions/prorations carefully end to end
https://dashboard.stripe.com/test/logs/req_2YWSw66y9EVCUC
you explicitly asked for proration, that's where the proration pending items come from
proration_behavior is not a "sticky setting" for a subscription. It's a specific option that applies to the specific update you make. If you never want proration you have to disable proration every time you make any change to a subscription or its items
ah, crap. i have set proration_behavior: 'none' when the sub is created ...
Oh! Thank you for clarifying!
fwiw, mentioning that proration_behavior is not a "sticky setting" for a subscription as you mentioned would be helpful in the docs somewhere, maybe here https://stripe.com/docs/billing/subscriptions/prorations#disable-prorations
Hi ๐ I'm taking over if you have any further questions.
With regard to the docs, we are considering changes like you mentioned. We try to continuously improve the docs to make them more clear.