#gpratte

1 messages · Page 1 of 1 (latest)

peak hemlockBOT
proud sluice
#

(It is for a POS integration where a call center will enter card numbers manually)

spiral harness
#

You have to enter card details through the Dashboard unless you've specifically gone through a review and have MOTO enabled for Payment Intents.

From our docs:

This is an important use case for any business accepting payments over the phone and widely supported by banks. Payments created through the Stripe Dashboard are automatically marked as MOTO payments.

If your business is PCI-compliant and you’ve built your own system to accept phone orders, our payments APIs let you mark a payment as MOTO. Please contact us (https://support.stripe.com/contact) to enable this feature on your Stripe account and to access the technical documentation.

#

I would recommend reaching out to support to get that enabled on your account

proud sluice
#

I have MOTO enabled on the account.

#

I've gone through support to enable it.

#

I have found how to make the API call:

    payment_method = stripe.PaymentMethod.create(
        type="card",
        card={
            "number": "4242424242424242",
            "exp_month": 8,
            "exp_year": 2024,
            "cvc": "314",
        },
    )
    payment_intent = stripe.PaymentIntent.create(
        amount=1099,
        currency="usd",
        payment_method=payment_method.id,
        payment_method_options={"card": {"moto": True}},
        confirm=True,
    )
    print(payment_intent)
#

With this code example above I can continue my work. Thanks!