Stripe – “Unable to locate Payment Method”
-
As of August 15th, Stripe no longer works. Upon submit, it redirects to <site>checkout/?payment-mode=stripe and shows the error of “Unable to locate Payment Method”
I have checked the admin settings and nothing has changed, all api keys are there and correct. I checked Stripe and the webhook is correct. I’m not seeing any console errors but looking at your code in the Stripe add-on:
$payment_method_id = isset( $_POST['payment_method_id'] ) ? sanitize_text_field( $_POST['payment_method_id'] ) : false; $payment_method_exists = isset( $_POST['payment_method_exists'] ) ? 'true' == $_POST['payment_method_exists'] : false; if ( ! $payment_method_id ) { throw new \Exception( esc_html__( 'Unable to locate Payment Method.', 'rpstripe' ) ); }
$payment_method_id is not being set anymore. Can you please update your Stripe plugin or resolve the issue.
Site is running WP 5.5 everything has been submitting fine until August 15th.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Stripe – “Unable to locate Payment Method”’ is closed to new replies.