#dragon.frost

1 messages · Page 1 of 1 (latest)

cobalt roostBOT
mystic wave
#

sure, if you use Checkout that is the default, it requires payment method details when creating the trial

true scarab
mystic wave
#

so you're using Elements, not Checkout

true scarab
#

yes

mystic wave
#

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

true scarab
#

can I use this method to create subscription without trial period as well?

#

does this comply with SCA regulations as well?

mystic wave
#

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

true scarab
#

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?

mystic wave
#

doesn't matter since you're using a trial so it will never be incomplete

true scarab
#

so I should not set it at all right?

#

if I'm doing it properly

mystic wave
#

I still would because you may as well and it lets you share the code