#amol_08238
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.
- amol_08238, 1 day ago, 16 messages
- amol_08238, 2 days ago, 17 messages
- amol_08238, 4 days ago, 5 messages
- amol_08238, 6 days ago, 4 messages
Why you want to pay the proration via a separate Checkout Session?
You should have a saved PaymentMethod to the Subscription that will be used for the recurring payments and any intermediate proration amount
yes I already have saved payment method but when subscription item is created then new invoice is created but it is not paid automatically. Customer needs to go to customer portal in order to pay for invoice created for prorated amount. Thats why I was thinking on creating checkout session for proration amount.
You can pay/finalize the invoice when the subscription item is created, did you try to finalize/pay the invocie using the API
no I dont know how, can you please point to the api? thanks
Try using this API:
https://stripe.com/docs/api/invoices/finalize
Otherwise, feel free to share a concrete example with a SubscriptionId in order to understand better the use case.
okay thanks, I will use this and let you know
Hi, Please check subscription id sub_1O6uPfCCtT389lEbzSZgjABE. Here I have added subscription_item using api and invoice is also finalised but payment is not done automatically.
Do I need to call invoice pay api for this?
You should just call the /pay endpoint instead of /finalize and it'll both finalize and attempt payment