#Gasper

1 messages · Page 1 of 1 (latest)

paper flameBOT
nocturne thicket
#

hi! not really. What's your current question?

split phoenix
#

when the customer places an order we are creating initial payment intent and set property setup_future_usage: 'off_session'. With this, we indicate that for all future charges with the same card we won't get 3DS. When the same customer places another order with the same credit card we would like to avoid setting setup_future_usage:true to avoid 3DS. We were checking if we could get information from the card object itself using API but this information is not visible there...

nocturne thicket
#

correct. You could update some metadata on the PaymentMethod object in our API or set some information in your database so you can track that card was previously used with setup_future_usage

split phoenix
#

that was also my thinking but I wasn't sure if this is the best solution and I was thinking to get this info directly from the payment method itself...

#

I can see there is info in the stripe BO

#

on the payment method details sceen

nocturne thicket
#

yep, but that's not exposed in the API

split phoenix
#

so the only solution here is to store the information setup_future_usage in metadata on the card itself

#

does this property setup_future_usage: 'off_session' on the payment method expire or once is it set we don't need to set it again?

split phoenix
#

it seems a bit impractical solution is there an alternative?

nocturne thicket
#

no