Once the order is created and prices updated (with _updatePrices()), we should trigger a custom hook that can be used by other modules.
This is especially helpful for all modules and services that hook themselves on the order creation (to send the order details to the carrier, to print something, to send an email, etc ...).
The default hook in validateOrder of PaymentModule will not have the correct price details.
Actual behaviour
The is no hooks triggered after _updatePrices().
Steps to reproduce the behaviour
Receive an order from ShoppingFlux and look at the changes done after validateOrder
Expected behaviour
Once the order is created and prices updated (with
_updatePrices()
), we should trigger a custom hook that can be used by other modules.This is especially helpful for all modules and services that hook themselves on the order creation (to send the order details to the carrier, to print something, to send an email, etc ...).
The default hook in
validateOrder
ofPaymentModule
will not have the correct price details.Actual behaviour
The is no hooks triggered after
_updatePrices()
.Steps to reproduce the behaviour
Receive an order from ShoppingFlux and look at the changes done after
validateOrder