#ade

1 messages · Page 1 of 1 (latest)

restive kestrelBOT
prime geyser
#

Hello 👋

  1. Can i use a setup intent and charge the payment method twice on the backend using paymentIntent.confirm()?
    will this be affected by cards with 3D secure turned on?
    Once the payment method has been setup, you can charge it as many as times as you want.
    Issuers can ask for 3DS anytime so your app would need to be configured to bring users back on-session and complete 3DS if that happens.
  1. can I use a single payment intent and make save_for_future_use as true, so I can immediately charge the second payment?
    You should be able to.
#

which of these approaches would you recommend? or will you recommend something better?
It depends on your usecase. Do you need to charge users upfront when saving the payment method?
If not, then you can go the SetupIntent route

fossil ice
#

I dont need to charge users upfront when saving the payment method

prime geyser
#

Cool, in that case you should use SetupIntents instead

fossil ice
#

thanks

about the 3d secure issue, can you point me to an article that explains how I should handle it?

prime geyser