#Carlos Mascarenhas-trial-sub-pi

1 messages · Page 1 of 1 (latest)

surreal brook
#

You'd confirm that Setup Intent on with confirmSetup from Stripe.js to carry out any required auth on the payment method to authorise future off-session payments

flat parcel
#

This was my question, because to use confirmCardPayment I need clientSecret, in which case I should use confirmSetup?

surreal brook
#

Yep! You'll want confirmSetup (if you're using Payment Element) when it's a Setup Intent

#

There's still a client_secret field on the Setup Intent object which you'll need

flat parcel
#

But when a trial-type subscription is created there is no client_secret

#

subscription normal, json returned

young leaf
#

you need to expand pending_setup_intent

flat parcel
#

ok

#

Just a question, where is this explained in the documentation?