#amol_08238

1 messages · Page 1 of 1 (latest)

exotic pendantBOT
#

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.

wild totem
#

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

frigid valve
#

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.

exotic pendantBOT
wild totem
#

You can pay/finalize the invoice when the subscription item is created, did you try to finalize/pay the invocie using the API

frigid valve
#

no I dont know how, can you please point to the api? thanks

wild totem
#

Otherwise, feel free to share a concrete example with a SubscriptionId in order to understand better the use case.

frigid valve
#

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?

scarlet panther
#

You should just call the /pay endpoint instead of /finalize and it'll both finalize and attempt payment