Urgent issue with repeat billing
-
I have a very serious issue (but an intermittent one, which is making it very difficult to repro/investigate). If you have access to the Advanced WooCommerce Facebook group, it’s discussed in detail here.
A summary of the problem is that some orders are generating a front end error message on the checkout page, telling the visitor to try again – even though they have already been successfully billed (through Stripe). Many customers try a few times, which means they are repeatedly billed. A bad situation!
I am not necessarily asking for this to be resolved here/now (I am sure that will require more detail, though the Facebook post has much of that). But I am reasonably sure this is some sort of timeout on the checkout process, before the thank you page is displayed (but after billing).
So my questions are…
- What timeouts are at play for the OVERALL checkout process and where can I configure them?
- What event is logged and where can I see this when checkout times out (nothing is reported in debug.log, etc that sheds light on this)?
- Where can I get a full list of all the hooks at play for a normal order, including the likely order they are called.
Also, as part of my investigation, I am hook into woocommerce_checkout_order_processed(). My expectation is that this would be called towards the end of checkout. But, to my confusion, it is being called (at least given the timestamps I see) before events like:
woocommerce_order_status_changed()
woocommerce_payment_complete()
woocommerce_thankyou()
And it’s not even close. The other events are timestamped generally in the same second, or close. But woocommerce_checkout_order_processed() has a timestamp often 5 seconds or more before the others.
I would greatly appreciate any help.
The topic ‘Urgent issue with repeat billing’ is closed to new replies.