#UltraX - Save PaymentMethod
1 messages · Page 1 of 1 (latest)
Hi ther,
You can take a look at this guide to achieve that
https://stripe.com/docs/payments/save-and-reuse?platform=react-native&ui=payment-sheet
Hello!
im using php actually
do i just change react to php
like this
yup ig XD
Or this guide if you are willing to save the Payment Method after a first payment
https://stripe.com/docs/payments/save-during-payment?platform=web
they save the card without making any payments
Yes switch to web platform for that
do you want me to show u what happens?
in a short video
here basically thats what happens
what got saved is "tok_visa" and the card id "card_abc123"
so is it possible to charge like that or do the client
need to
make a order first
to be able to charge multiple times later
@royal gust you there?
i looked at both links
i dont think they've got what im searching for
this one they have to make a payment first
Yes, Juste give me couple of minutes while I analyze this
sure
Using SetupIntent like mentioning in this guide hhttps://stripe.com/docs/payments/save-and-reuse?platform=web
doesn't require a first payment
Here you just save and authenticate the card
does this work
In order to charge a customer, you need to attach to him a default payment method before:
https://stackoverflow.com/questions/49400906/how-do-i-charge-with-card-id-or-customer-id-using-stripe-php#:~:text=Once you create a customer you can charge their default card with
are the card authenticated? because it may asks for 3ds authentication
i dont get it
oh
like
3d thingy
which they get a code
to verify the payment
if yes, i've got no idea how to support that
ik that stripe support it but using their own payment page
but for the api
ive got no idea
Yeah that it
that way I strongly recommend you to follow this guide
https://stripe.com/docs/payments/save-and-reuse?platform=web
which you save and attach a PaymentMethod to a customer without doing a payment
then you can charge the saved PaymentMehtod later as mentioned here:
https://stripe.com/docs/payments/save-and-reuse?platform=web#charge-saved-payment-method
alright, thank you!