Payment complete webhooks not processed
-
Hi,
I’ve seen an issue with 2.9.1 where payment complete webhooks are not being processed, leading to payment being taken but the order not marked as paid.
The logs show the webhook arrive, but it is never added to action scheduler to be processed. Debugging is showing as_schedule_single_action() returning zero in WC_Gateway_SumUp::schedule_webhook_action().
As the task to process the webhook is never scheduled, the order is never marked as processing/completed.
It’s affecting about 5% of orders since updating to 2.9.1
I believe this issue has arisen in the changes in 2.9.1, which altered the logic around scheduling processing of webhooks.
I’m not 100% sure but I think it may be occurring when a checkout initially fails, and then is successful?
It could potentially also be related to the flow we’re using – these orders are created manually, and users are logging into their account and then paying the invoices – however that’s been working fine for years with older versions of the plugin and other payment gateways.
This is obviously quite a serious issue for us; for now we’ve reverted to 2.9.0. I appreciate having the db-filling bug fixed, but this is worse.
You must be logged in to reply to this topic.