#Jack_chai
1 messages ยท Page 1 of 1 (latest)
which we create payment intent first and use webhook listen to payment succeeded then create new subscription
Hello ๐
The canonical guides here also create the subscription prior to collecting the PaymentMethod details.
https://stripe.com/docs/billing/subscriptions/build-subscriptions
You won't be able to use a PaymentIntent but you could use SetupIntents to collect PaymentMethod information prior to creating the subscription. However, in-case SCA/3DS is triggered then your customers might have to perform authentication twice
hi Hanzo, thx for ur confirmation
and if user discard the payment, that inactive subscription will also be removed ?
I believe it starts in an incomplete state and would move to active state if the payment is made.
If no payment for the first invoice is made within 23 hours then the subscription will move to incomplete_expired state which is terminal state so existing invoice will be voided and no new future invoices will be generated.
this is very helpful, thx again
NP! ๐ Happy to help