horsemania
Forum Replies Created
-
We have analyzed our server’s access logs.
When a payment is completed, the following happens:
- Initial Webhook Fails: Mollie sends the webhook almost instantly. However, our server log shows this first
POSTrequest to/wp-json/mollie/v1/webhookresults in an HTTP499 "Client Closed Request"error. The processing time is very long (around 5 seconds), causing Mollie’s client to time out and close the connection. - Successful Retry: About a minute later, Mollie’s system automatically retries sending the same webhook. This second attempt processes much faster and succeeds with an HTTP
200 OK.
the order status is set to ‘Completed’, but no tickets are being generated or sent. I am currently testing this using the TEST API, as our event has now finished.
When using ‘Bancontact’ as the payment method, I have to manually change the order status to ‘Processing’ to get the ticket generated and sent.
I’ve got a anwser from Mollie:
As a temporary workaround, you can switch back to the *old webhook endpoint* by adding the following filter to your theme’s functions.php file:
add_filter( ‘mollie_wc_gateway_disable_rest_webhook’, ‘__return_true’ );
This will make the plugin use the legacy /wc-api/ webhook URL again. (The old endpoint is still active, so both old and new payments will continue to work.)
Additionally, if you notice that a payment is marked as “paid” in Mollie but the WooCommerce order did not update, you can use the new *“Check payment on Mollie”* order action from the WooCommerce order page. This will fetch the payment status directly from Mollie and update the order immediately.👉 Could you please try this workaround and let us know if it improves the order status updates on your site? Your feedback will help us narrow down whether the issue is related to the new webhook endpoint specifically.
We’re continuing to investigate the webhook delays on our side and will update this thread as soon as we know more.
@mollieintegration yesterday I sended several logs to mollie support. If you provide me a upload link then I can send then to you directly.
Downgrade to 8.0.5 does not resolve the issue for us.
- Initial Webhook Fails: Mollie sends the webhook almost instantly. However, our server log shows this first