• Resolved martinmath

    (@martinmath)


    Hello,

    We have a multisite setup. I can see that webhooks are there for each domain and have clicked ‘resubscribe webhooks’ to recreate them. However when I click ‘simulate’ I get the following error:

    Looks like the webhook cannot be received. Check that your website is accessible from the internet.

    They are available and we can receive standard PP payments through them.

    When I check the logs I can see that there’s critical errors like:

    2023-02-04T13:30:14+00:00 CRITICAL Uncaught Error: Call to undefined method Automattic\WooCommerce\Admin\Overrides\OrderRefund::get_payment_method() in /home/XXXX.cloudwaysapps.com/xxxxxxxxxxxx/public_html/web/app/plugins/woocommerce-paypal-payments/modules/ppcp-webhooks/src/Handler/CheckoutOrderApproved.php:193

    We receive straightforward successful PP payments but failed and alternative methods (i.e. iDeal) seem to vanish without a trace. We’ve had a couple of customers who have informed us that the payment goes through on the PP side but then this doesn’t result in a successful or failed order on our site admin which I presume means that the action doesn’t get reported to the site.

    Any idea what direction to go in to resolve this?

    thanks

    Martin

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @martinmath

    Webhooks are crucial for processing payments via alternative payment methods, and if they are not received, it can lead to incomplete payments, as the capture call only happens after the webhook confirmation was received.
    When the payment is not captured after a short while, PayPal automatically issues a refund.

    This error you reported is rather unusual, though, and could potentially be caused by a conflict with another plugin. Maybe as a start could you please check if the behavior and the errors persist for you with the latest pre-release version of the upcoming update? It improves the compatibility with third-party plugins and can be downloaded from here.
    Beyond this, you may want to perform a conflict test as desribed here.

    Please let us know how this works for you.
    Thanks!

    Kind regards,
    Niklas

    Thread Starter martinmath

    (@martinmath)

    Hello,

    Sorry for late reply and thanks for the info.

    I haven’t been able to get to the bottom of this yet but am investating a possible theme issues. Will update

    thanks Martin

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

The topic ‘Webhooks for multisite’ is closed to new replies.