#KEITH LARD
1 messages · Page 1 of 1 (latest)
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?
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
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
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
ah right
well then it would be in the SetupAttempt object too in that case
sorry I missed that.
No worries, can I access that from a setup intent?
i.e. it would be in https://stripe.com/docs/api/setup_attempts/object?lang=ruby#setup_attempt_object-payment_method_details-card if you look at the latest_attempt object returned in the SetupIntent which is a setatt_xxx SetupAttempt`
Ah okay, thanks I'll take a look now
It doens't seem to be reflected there either
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
Ok 👍 thanks for the help
Hi! I'm taking over my colleague. Please, let me know if you have any other questions.