Placed order event delayed?
-
Hi, we have written some code to apply a custom order state for “cod” payments. The order state is applied immediatley after the standard “processing” status (this is needed to trigger woocommerce confirmation emails without rewriting all the code).
So it is:
placed order->”processing”->”hold for cod confirmation”.
There is a problem with the event “placed order”, however, because this is not sent to klaviyo until the order is put on “processing” again. It seems the event stays on a standby state until “processing” triggers sending. It should be a matter of seconds, because if we manually put it on “processing” for 5-10 seconds and then on “hold for cod confirmation” again the event is sent, while it isn’t sent if we switch states in less than 5 seconds. We could add a delay for the “hold for cod confirmation” status of 10-15 seconds after the placed order but since we don’t know exactly what it triggers event sending (and how much time it takes to send) we are not sure that this kinda solution could work.
Our opinion is that there should be no need or reason to put event sending at standby if the order has been on “processing” at least once before. This could be useful for orders that start with this status, but other than this it should be considered a bug.
The topic ‘Placed order event delayed?’ is closed to new replies.