#KEITH LARD

1 messages · Page 1 of 1 (latest)

worldly vineBOT
fallen pilot
#

hi! I don't think it's reflected anywhere in particular no, the way it works is there is a parameter you pass to indicate that you are confirming the Intent and claiming the MOTO exemption, there isn't a field that gets set or returned back.

was there a specific issue you're running into?

fierce silo
#

No no issues, I was just concerned if I was doing it correctly or not, I'm also trying to store in my database if a payment method is MOTO or not and was having issues with determining this. I suppose I could just set it in the metadata manually before I do it

#

As you can see here it seems to be missing in the response, but if that's by design it makes sense

#

I was also wondering if in step 1 when collecting the card details if I had to flag that as MOTO too? to indicate it will be used for a setup intent with moto

fallen pilot
#

there's no way to mark that when creating a PaymentMethod if that's what you're referring to

#

it's a parameter only used at the time of confirming a Payment/Setup Intent

fierce silo
#

no worries, when using payment intent rather than setup intent there does seem to be moto data returned however

#

['payment_method_details']['card']['moto']

#

that has data

fallen pilot
#

ah right

#

well then it would be in the SetupAttempt object too in that case

#

sorry I missed that.

fierce silo
#

No worries, can I access that from a setup intent?

fallen pilot
fierce silo
#

Ah okay, thanks I'll take a look now

worldly vineBOT
fierce silo
#

It doens't seem to be reflected there either

fallen pilot
#

maybe I'm wrong then, but either way

#

MOTO is not really a "state", it's just a parameter you pass on a specific confirmation attempt

#

if you want to have some concept of "I set up this card in the past and at the time I claimed the MOTO exemption" for whatever reason, I would probably use metadata or records in your own database for that info

#

gotta run sorry but @kindred trout can help if any follow ups

fierce silo
#

Ok 👍 thanks for the help

kindred trout
#

Hi! I'm taking over my colleague. Please, let me know if you have any other questions.