#Igor Nigay-MOTO

1 messages ยท Page 1 of 1 (latest)

hybrid knotBOT
safe totem
#

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

pearl cedar
#

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?

safe totem
#

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

pearl cedar
#

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

safe totem
#

Happy to help

pearl cedar
#

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?

safe totem
#

Yep yep, that would be how you would test it

pearl cedar
#

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?

safe totem
#

Actually it was my understanding that Stripe elements couldn't take MOTO payments

#

Let me double check that

pearl cedar
#

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.

safe totem
#

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

pearl cedar
#

yes we set our confirm to true

safe totem
#

So I think you would need your own form here

pearl cedar
#

what is PAN?

safe totem
#

Primary Account Number another name for the card number

pearl cedar
#

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.

safe totem
pearl cedar
#

yaay

safe totem
#

Though definitely test that in test mode, have not had a chance to test that flow w/ MOTO myself

pearl cedar
#

understood. We'll try and see if it works, I can message in this channel if so ๐Ÿ™‚

hybrid knotBOT
pearl cedar
#

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.

spring dove
#

Hi ๐Ÿ‘‹

I'm stepping in as my colleague had to go.

pearl cedar
#

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

spring dove
pearl cedar
#

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

spring dove
#

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

pearl cedar
#

oh no, we need it only in UK. I think we're good

#

thanks so much!!!