#Gasper

1 messages · Page 1 of 1 (latest)

wheat prawnBOT
mystic timber
#

Hi there, there's no proprety in paymentMethod that represent the setup for future usage.

#

Can you tell me the problem that you are trying to solve?

echo palm
#

Starting 2 May, calling setup future usage: off_session when creating a payment intent seems to often result in a 3DS challenge, much more often that before. So we want to set that parameter only for new cards, not exising ones (which are already set up for off_session future usage).

mystic timber
#

And when do you want to set the setup_future_usage param?

echo palm
#

Just the first time user places an order with us. When they come back, we use the same card and don't want them to go through 3DS again.

mystic timber
#

OK, so you use setup_future_usage for the first paymentIntent, and you don't set setup_future_usage for subsequent paymentIntents, is this what you currently are doing

echo palm
#

This is what we want to achieve, yes

#

The problem is customers can have many cards attached and we don't know which one is set up for future off_session charging

#

Where can we get this information from?

mystic timber
#

Hmm, Since you have already saved the payment method through setup_future_usage, you don't need to set setup_future_usage when charging a customer with a saved payment method