Jump to content

Edit History

editview

editview


edit

What hook should I use to change the status of an order immediately after checkout (based on suspicious activity or issues with the order)?

I tried these, but none seem to be the right one to use...

  • hookActionValidateOrder - Can't use this one because the order status gets changed by PrestaShop after it's called.
  • displayOrderConfirmation - Can't use this one because then it won't display the default order confirmation page I think?  Is there a way to use this hook and have it still display the default order confirmation page?
  • actionPaymentConfirmation - Not called for free orders. Not sure if it's called immediately after checkout for orders with checks, etc.
editview

editview

What hook should I use to change the status of an order immediately after checkout (based on suspicious activity or issues with the order)?

I tried these, but none seem to be the right one to use...

     * hookActionValidateOrder - Can't use this one because the order status gets changed by PrestaShop after it's called.
     * displayOrderConfirmation - Can't use this one because then it won't display the default order confirmation page I think?  Is there a way to use this hook and have it still display the default order confirmation page?
     * actionPaymentConfirmation - Not called for free orders. Not sure if it's called immediately after checkout for orders with checks, etc.

×
×
  • Create New...