Error in Stripe Payment Methods
-
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 38So, 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?
The topic ‘Error in Stripe Payment Methods’ is closed to new replies.