#Igor Nigay-MOTO
1 messages ยท Page 1 of 1 (latest)
Can you see this doc? https://stripe.com/docs/payments/payment-intents/moto
May not be visible if MOTO isn't enabled yet
But basically you would pass in details like this (using our Python library for this example)
amount=1099,
currency="usd",
payment_method_types=["card"],
payment_method_data={
"type": "card",
"card": {
"number": "4242424242424242",
"exp_month": 4,
"exp_year": 2026,
"cvc": "242",
},
},
payment_method_options={"card": {"moto": True}},
confirm=True,
)```
That payment_method_options={"card": {"moto": True} piece would tell us that it is a MOTO transaction
Igor Nigay-MOTO
I see it. this is awesome
by any chance, do you know if there are any additional rates for this type of transaction? if moto: true, we still pay the regular key-in processing fees?
Unfortunately I only really know about the coding side, for fee questions you can talk to our suppport team https://support.stripe.com/?contact=true
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
not a problem at all. Thanks so much for your help. We're going to try moto: true prop.
oh sorry, got follow up questions
Happy to help
we're using 4000000000003220 test CC to test SCA verification. How do we test MOTO? will using the same card with moto: true the expectation is that it won't require SCA, or there are specific test cards to test it against?
Yep yep, that would be how you would test it
and another question:
Just to make sure ๐
The example provides a clear text for the payment method. Does MOTO apply if payment method is coming from Stripe elements, it should work the same or no?
Actually it was my understanding that Stripe elements couldn't take MOTO payments
Let me double check that
thank you, we're on the fence about it also ๐
recently we switched all our payment forms to use Stripe elements. Even when the merchant is taking a payment over the phone, they use Stripe elements forms still.
Ah so when testing I got this error
The parameter `moto` cannot be passed as part of `payment_method_options` when creating a PaymentIntent unless `confirm` is set to true.
So the restriction is that you need to pass in the PAN while creating the intent
yes we set our confirm to true
So I think you would need your own form here
what is PAN?
Primary Account Number another name for the card number
ah, good to know. So only a custom form can use MOTO is what you're saying.
This means we only have one way of taking payments over the phone - customer facing form that requires to verify the payment.
Actually, looking again, you can do this with the card element https://stripe-tinydemos-moto-payments.glitch.me/
And looking at the code, I actually think this Payment Element flow could work with MOTO https://stripe.com/docs/payments/finalize-payments-on-the-server
yaay
Though definitely test that in test mode, have not had a chance to test that flow w/ MOTO myself
understood. We'll try and see if it works, I can message in this channel if so ๐
we just tried it
received this from stripe
Received unknown parameter: payment_method_options[card][moto]
payload:
{
amount: amount,
currency: "eur",
payment_method: paymentMethodId,
payment_method_types: ["card"],
confirm: true,
return_url: "http://localhost:3002/take-payment",
payment_method_options: {
card:{
moto: true
}
}
}
we passed payment methodID generated by the form.
Hi ๐
I'm stepping in as my colleague had to go.
Can you confirm that you are able to load this page? https://stripe.com/docs/payments/payment-intents/moto
yes in our UK processsing account we can
but I think we're using US test account
I think it's on our end, we're gonna test against test mode in UK account
our lead asked Stripe to enable MOTO in our account, he's on PTO so we don't know if it was enabled on all our accounts or just UK, sorry for delay, please hang on, we're testing
If you can share the request ID for the failed request I can check
It will start with req_
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
we got it working
it was exactly that, it seems we have MOTO enabled on UK account but not on US account, but we were testing in US account
now that we're in UK account, it works
so overall: using Stripe elements + SCA + MOTO works
Okay great. ๐ If you have an account rep with Stripe you can reach out to them with respect to the US account. If not, you can reach out to Support https://support.stripe.com/contact