#bkrnetic
1 messages ยท Page 1 of 1 (latest)
๐ Thanks for reaching out
Could you please share the subscription Id ?
sub_1LhvfqKMpQoJAhWwR8Ivkq0j
Thanks for sharing, taking a look
I'm seeing that every time you update the subscription, you are passing proration_behavior=create_prorations
https://stripe.com/docs/api/subscriptions/update#update_subscription-proration_behavior
Here is the two request:
https://dashboard-admin.stripe.com/test/logs/req_wgdmDg4X0C92Be
https://dashboard-admin.stripe.com/test/logs/req_360EMGq6ceeIa4
If you don't want to create proration, then you should pass proration_behavior=none
Hmm, so I should set proration_behaviour=create_prorations only once when creating subscription, and exclude it from the update request when updating the price?
If you don't want to have proration so from the creating of the subscription set proration_behavior=none
I want to have, but it doesn't work as it was stated in the docs.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
For the subscription you shared, it was created with proration_behavior=create_prorations
Could you create a new invoice, and share each requestId you are doing and what are you expecting after each update and when you get an unexpected result?
Oh wait, so with proration_behaviour = none, it will behave the way it is described in the first two paragraphs on the link I've provided?
It's described here indeed:
https://stripe.com/docs/api/subscriptions/update#:~:text=If you don't,the new subscription.