#sharda_02153
1 messages ยท Page 1 of 1 (latest)
Hi ๐ it looks like it's including a proration from a previous update that was made to the related Subscription. If you don't want to create prorations when making updates to Subscriptions, you will want to look into leveraging the proration_behavior parameter when making those updates:
https://stripe.com/docs/api/subscriptions/update#update_subscription-proration_behavior
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
We have set the proration_behavior none but it still counting the difference
What we can do to avoid adding this additional amount
Can you share the ID of the Subscription where you're seeing this?
sub_1NmzaDSBBtImW7ZL9LqcuRC8
Thank you for that, it looks like proration_behavior wasn't included in the request you made to adjust the quantity, so the default behavior was used and prorations were created:
https://dashboard.stripe.com/test/logs/req_s2U0PcVqPZRn2M
You will need to include proration_behavior in each of your update requests, and set it to none, where you don't want to create prorations. That is not a "sticky" setting that applies to all future changes made for the Subscription, it must be included with each update request to use non-default behavior.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Okay
Actually, I set it to none but to check the issue I have set it to defult
Let me update it again and I will message you in while
If that will work for you
The request I provided a link to did not include the proration_behavior parameter at all. If you have adjusted your code to include that parameter you will want to debug why it isn't being included in the request.
Glad to hear, always happy to help!