ePages 6.10 - DE_EPAGES/Order/Hooks/Order.pm

Package DE_EPAGES::Order::Hooks::Order

Additional hook function for OrderCreated hook.

Functions

OnOrderCreatedConfirmationMail
OnOrderExecutePayment

OnOrderCreatedConfirmationMail

Triggered by hook API_OrderCreated. Sends the order confirmation e-mail to the customer if the option $hParams->{Options}->{SendConfirmationMail}.

Syntax
OnOrderCreatedConfirmationMail( $hParams );
Input
$hParams (ref.hash.*)
hook arguments, used keys are
  • Order - order object
  • Options - options hash

OnOrderExecutePayment

Triggered by hook UI_OrderCreated to interrupt order process to give the user the possiblity to go to payment server. The payment method has to handle if it has already all data. Attention: everything else should be handled before!

Syntax
OnOrderExecutePayment( $hParams );
Input
$hParams (ref.hash.*)
hook arguments, used key is
  • Basket