• Resolved Ambyomoron

    (@josiah-s-carberry)


    After upgrading to 2.2.7, I decided to check out the “More userfriendly Stripe payment methods”. This results in a two-part question:
    1. I have always had the payment method set to “card” and never had any problem with it. Not understanding how the payment methods should work, I added to “card” a second payment method, “bacs_debit”.

    However, when attempting to register for an event and pay for it, I get the following message after clicking on the button to pay via Stripe:

    Fatal error: Uncaught (Status 400) (Request req_xxxxxxxxx) Invalid payment_method_types[0]: must be one of alipay, card, ideal, fpx, bacs_debit, bancontact, giropay, p24, eps, sofort, sepa_debit, grabpay, afterpay_clearpay, acss_debit, wechat_pay, boleto, or oxxo thrown in /mysite/wp-content/plugins/events-made-easy/payment_gateways/stripe/stripe-php-7.75.0/lib/Exception/ApiErrorException.php on line 38

    So, I went back to the payment methods and set only one payment method. Still get the same error message. Even if I set the single payment method back to “card”, as it was at first, I still get that error message. I am not using any caching plugins and make sure to clear the browser cache.

    2. Whatever the resolution of the above problem, how are we supposed to configure things if we want to offer multiple payment methods via Stripe? And where is the choice of payment method to be made by the customer?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Franky

    (@liedekef)

    1) Fix is here: https://plugins.trac.wordpress.org/changeset/2558372/
    2) You need to configure those extra payment methods in your Stripe dashboard and then configure in EME which of those you want to give to your customers (there’s no API call that lets me get a list of configured payment methods so you need to provide that info).

    Thread Starter Ambyomoron

    (@josiah-s-carberry)

    Got it! Thanks very much.
    Just one point of clarification, please: Once I configure any additional payment methods with Stripe and then add them to EME, where does the customer see the choice of payment methods? Do they see it in EME or only once they have logged in to Stripe?

    Plugin Author Franky

    (@liedekef)

    In Stripe.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error in Stripe Payment Methods’ is closed to new replies.