#sdasdq3we
1 messages · Page 1 of 1 (latest)
To charge the amount immediately, proration_behavior should be set to always_invoice: 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.
Using same behavior but the problem is they are charging full amount at the time of update
And I am getting proration amount reduced in next invoice.
Atteched test env. screenshot.
@iron jacinth
Can you share the subscription ID (sub_xxx)?
@iron jacinth sub_1NdpD6DASZN8Zxxt7BmMgqv1
Thanks for waiting! Discord is busy now
What is your expected behaviour? This subscription looks correct to me. When you update the subscription, the customer was invoiced and charged immediately
Cutomer is charged full amount for that
At the time of update they charged $25 but they reduce $5 in next year invoice
Sorry, I still don't get the problem. Can you explain what you expect the outcome to be?
I think they have to charge $20 at the time of update
And upcoming invoice amount shoud be $25
@iron jacinth
I'm checking with my coworker why this happens
Ok, let me know if you need code
Thanks for waiting! It's indeed strange that sub_1NdpD6DASZN8Zxxt7BmMgqv1 doesn't include proration immediately with setting proration_behavior: "always_invoice". By right, proration should be included in the invoice https://dashboard.stripe.com/test/invoices/in_1NdpDnDASZN8ZxxtdOrrcGey
Can I suggest you writing into Support https://support.stripe.com/contact with the Subscription ID, so that we can check with relevant team?