#idhruv - preview proration
1 messages · Page 1 of 1 (latest)
Hello, Stripe has an endpoint that can let you generate what prorations an update will cause. Does this look like it will help you here?
https://stripe.com/docs/billing/subscriptions/upgrade-downgrade
something is not right here, why are we charged with proration for this api call?
this document is not able to cover all scenarios\
it says changing subscription often results in proration - so right now our test user has second subscription active on the top of another one created 2 days ago
is this the reason that customer is charged with proration?
I can look in to why a proration happened here. Can you tell me more about what update you were trying to make and how you made it?
there was no update actually
just created two subscriptions
and i see proration charged on the latest subscription\
I will check in to this. So the prorations are on the invoice for the subscription that that invoice item is for?
yep
you can take a look at ii_1LMuLbGdNldKu1zm7rgDcBYc
i also see that proration is happening on all invoices and it goes by description Time on Subscription for Booking Id: xxx from fromDate until toDate and infront of this there is a value that is taken as a cut. How to know how much proration is being charged beforehand, even before creating subscription schedule? this will be my exact question then in this scenario
Whoops I linked to the wrong doc before. You can use our upcoming invoice endpoint for that, that call has a subscription_items parameter that you can pass data in to about new subscriptions that you want to make https://stripe.com/docs/billing/subscriptions/prorations#preview-proration
https://stripe.com/docs/api/invoices/upcoming#upcoming_invoice-subscription_items
I have to jump to a couple other threads but will be back in a couple minutes with what I can find on your specific subscription here.
hey thanks for this doc, but i saw this earlier and i have a big problem with this statement here Changes to a subscription such as upgrading or downgrading can result in prorated charges. in my case i am never upgrading or downgrading any subscription. I am merely creating a subscription and even then i am charged with proration
why is this ?
It looks like it is because you provided a start date that was a day in the past from when you created the subscription. To be clear, was the end goal here to create a subscription with a full cycle that started yesterday the 17th?