• Resolved hugo1405

    (@hugo1405)


    I’m using the latest version of your PayPal and Stripe plugins and the latest version of WooCommerce.

    I have noticed a few of these fatal errors in the logs since the last update.

    PHP message: PHP Fatal error: Uncaught Error: Call to undefined method WC_Payment_Gateway_Stripe_GooglePay::set_save_payment_method() in /wp-content/plugins/pymntpl-paypal-woocommerce/src/Rest/Routes/AbstractCart.php:40
Viewing 1 replies (of 1 total)
  • Plugin Author Clayton R

    (@mrclayton)

    Hi @hugo1405

    Thank you for contacting Payment Plugins. The route where the PHP exception is being thrown is only for the PayPal plugin but a Stripe payment method ID is being sent.

    This could indicate a few things, here are a few:

    1. You have a cache that’s submitting outdated data, which includes a payment method ID from a previous request
    2. There is a hacker probing for vulnerabilities.

    I’ve made a note to update the error handling in that route so an exception isn’t triggered if an invalid payment method ID is used in the request.

    Kind Regards

Viewing 1 replies (of 1 total)

The topic ‘Fatal errors’ is closed to new replies.