#alexelba
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- alexelba, 20 hours ago, 3 messages
- alexelba, 23 hours ago, 23 messages
- alexelba, 1 day ago, 36 messages
- alexelba, 1 day ago, 26 messages
- alex-schedule-release, 6 days ago, 30 messages
I want to show users, before they confirm how much they will charged today
they are changing existing subscription, and they will be charged prorated
fee
Based on what you're describing you probably want the Upcoming Invoice API (https://stripe.com/docs/api/invoices/upcoming)
for upcoming one, I will need to apply change
before I can use it
I want to show them in confirmation window
if change will be submitted your total bill next billing period will be X dollars, and today you are charged $Y
No, the point of the Upcoming API is that you don't have to apply the change
Cool, so I need to provide subscription_items, can I provide subscription as well, so get prorated value
and change proration_behavior = 'always_invoice' for this invoice only?
Yup! Try it out in testmode and see if it behaves you'd expect