Hi! (1.7.5. upgraded to 1.7.8.7)
I am trying to figure out how to change an order status to paid (2|Payment Acccepted) so that ALL DB entries are created and not just the ps_orders.current_state is updated.
After some digging, there are a lot of tables that are updated when you manually set order as paid in the BO.
Does actionValidateOrder, actionPaymentConfirmation or some other hook create all entries in the database and send the email as changing the status manually from the BO would do?
Also, can I create a simple PHP script and call these hooks from that, or can they only be called from a registered module?