#Quentin
1 messages ยท Page 1 of 1 (latest)
If you are using a SetupIntent, you need to call stripe.confirmSetup() https://stripe.com/docs/js/setup_intents/confirm_setup
const setupIntent = await stripe.setupIntents.create({
payment_method_types: ['card'],
customer: user.customer_stripe_id,
});
ahhhh
it's a stripe element method?
It's a Stripe.js method, that you need to call when using the PaymentElement with a SetupIntent.
so it's wasn't the good method but it helps me to find the "confirmCardSetup" which does the job
Thank you ๐