ePages 7.3.0 - DE_EPAGES/Ogone/Hooks/CustomerOrder.pm

Package DE_EPAGES::Ogone::Hooks::CustomerOrder

Functions registered to Customer Orders Hooks

Functions

OnChangeCustomerOrderStatus

OnChangeCustomerOrderStatus

OnChangeCustomerOrderStatus is triggered when the status of a customer order is changed from the UI ( MBO ). The Ogone cartridge has to request the payment for the orders which use the 'Amazon Checkout' payment calling directly the Ogone API ( DirectLink ) so the Merchant doesn't need to do this task connecting to the Ogone BackOffice. The Status which trigger this process is the 'DispatchedOn' See EPG-25415 for details.

Syntax
OnChangeCustomerOrderStatus( $hParams );
Input
$hParams (ref.hash.*)
hook arguments, used keys are
  • Servlet - the Servlet for this UI action - object
  • Order - Order object which status has changed - object
  • Status - status changed - ref.hash