• Resolved mb007

    (@mb007)


    Hi,

    I am getting fatal error when trying to make order refund.

    See here

    PHP Fatal error: Uncaught Error: Call to undefined method Automattic\WooCommerce\Admin\Overrides\OrderRefund::get_payment_method()

    in /var/www/wordpress/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-webhooks/src/Handler/CheckoutOrderApproved.php:192

    Please let me know if you can help for this.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @mb007

    thank you for reaching out to us, we are here to help.
    I believe you also reported this same issue via WooCommerce, correct? I am sending the same response as I gave you there.

    It sounds like there is a plugin conflict occurring on your site; there are 2 things that I would advise you on this matter:
    1) Try our beta version and see if that resolves the issue. There is an issue regarding refunds in the release 1.9.0 and 1.9.1 that should have that resolved. Since I see the refund API mentioned in your error, I am hoping this is related and resolved by this update. The Beta can be found and downloaded here. (the official release should be within 1 or 2 weeks)
    2) Perform a full conflict test to rule out eventual issues with the theme or a different plugin. We recommend temporarily activating the default theme Storefront and disabling all other plugins except for WooCommerce and PayPal Payments to see if the behaviour persists. Here’s a guide that explains the steps in more detail: How to test for conflicts

    I would expect that one of these 2 options will show you the improvement you are looking for. Please let us know what the outcome is and if you need additional support.

    Kind regards,
    Joost

    @joostvandevijver that was me actually and still having the issue mentioned above.

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello,

    in order to continue on this matter/error, we will need to know if the conflict testing did show anything that can help us identify this issue. @rzvagelsky, please let me know via the ticket you opened with us and we can continue investigating this issue; we did not hear back from you after our initial response.

    Kind regards,
    Joost

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello,

    It has been quite some time since our last communication, so we will mark this thread as resolved. Please open a new thread if you are still facing issues or have questions that you need us to answer.

    Kind regards,
    Joost

    Anonymous User 18051603

    (@anonymized-18051603)

    Was this ever resolved?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal Error with woocommerce-paypal-payments refund’ is closed to new replies.