#exa-cardelement-confirm

1 messages · Page 1 of 1 (latest)

stuck fjordBOT
pale cave
#

Hey there, what isn't working like you expect?

#

Can you describe or sahre an example of what happened that was different than you expected?

worldly vessel
#

Yes. I want that my user doesn't save the card that used in element 'cardNumber', but when I use this lines above, my customer in stripe had a new payment method saved.

#

I doesn't want save setup intents but I want use one time for one payment.

#

that is possible ?

pale cave
#

I'm struggling to understand what you're trying to achieve

#

Are you trying to collect a payment now, or set up a card for later without taking payment?

pale cave
#

If you want to collect payment, you need to use a payment intent. If you want to also save the card for later you can use setup_future_usage for that.

worldly vessel
#

Sorry if I wrong told my intention. I will try to simple.
May I to use the element card number for get the informations for create payment intent without save the setup intent ?
that is clearer ?

pale cave
#

You can use the card element and confirmCardPayment here instead of Payment Element & confirmPayment

stuck fjordBOT
worldly vessel
#

thanks synthrider. Just last point, have you a short example in JS ?

pale cave
#

Of which part?

worldly vessel
#

When you do a payment intent

pale cave
#

Confirming it, you mean?

worldly vessel
#

thanks you so much. I stop disturb you.

pale cave
#

NP - good luck with the rest of the work!