I want to update the status of an order to processing once the checkout form has been submitted.
Looking through the dev docs: https://www.expresso.com/docs/extension_hooks.html
One of these two hooks fit the bill:
- store_payment_request_start
- store_payment_request_end
These are called when the order is processed by a payment provider - however, if I use a discount code for 100% off (ie, a free order) then these hooks aren't called (which does makes sense to me - I'm assuming the order isn't pinged to the payment provider as there is no payment to make).
Anyway, I can't see any further hooks that I can use to accomplish this status change, is anyone aware of way I can change the order status on a checkout submission?