#dragon.frost
1 messages · Page 1 of 1 (latest)
sure, if you use Checkout that is the default, it requires payment method details when creating the trial
I'm not sure what you mean by checkout that is default, I'm following this guide: https://stripe.com/docs/payments/accept-a-payment-deferred?type=subscription
so you're using Elements, not Checkout
yes
in that case, then you would need to use choose to not call the API to create the Subscription until the customer enters a payment method
so I would use https://stripe.com/docs/payments/save-and-reuse to have a SetupIntent that collects payment details, and when they completes, then call the API to create the Subscription with a trial period
can I use this method to create subscription without trial period as well?
does this comply with SCA regulations as well?
if there is no trial, I would use the approach from your link, where you create the Subscription and then confirm its PaymentIntent first
I'd only use the SetupIntent approach when there is a trial
Do I need to set payment_behavior: 'default_incomplete', for this setup intent flow? or leave it as it is so it becomes active after its created?
doesn't matter since you're using a trial so it will never be incomplete
I still would because you may as well and it lets you share the code