#pavan-subs-and-pi
1 messages · Page 1 of 1 (latest)
hey there, what would these payment intents be for and how do they relate to the subscription?
what are you trying do achieve?
I am creating a subscription for customer to collect recurring payments using custom flow. Also i would like give customer an option to update card details or billing information later. Going through this https://stripe.com/docs/payments/save-and-reuse?platform=web for payment details update like card, billing address. Just wondering how to do it
if you're creating a stripe subscription, the payments are created for you automatically, so you would not create any payment intents at all
but yes generally you'd collect payment details and let your customer update later. you can do this with a custom flow, or using the customer portal:
https://stripe.com/docs/billing/subscriptions/customer-portal
How to update via custom flow ?
And also can you describe relation between PaymentIntent and Subscription.
subscriptions create invoices, invoices collect payment with payment intents. there an diagram of the relationship here:
https://stripe.com/docs/billing/subscriptions/overview#subscription-objects
Thanks @hushed thorn So now how to update card details in the middle of monthly/annual subscription without using customer portal ?
what exactly do you want to update?