Webhooks for multisite
-
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
The topic ‘Webhooks for multisite’ is closed to new replies.