Package DE_EPAGES::Order::Hooks::Order
Additional hook function for OrderCreated hook.
Functions
- OnAfterUpdateCustomerOrder
- OnBeforeEditOrder2Order
- OnDeleteCustomerOrder
- OnOrderCreatedConfirmationMail
- OnOrderCreatedSetOrderStatusPaidOn
- OnOrderCreatedShopNotification
- OnOrderExecutePayment
OnAfterUpdateCustomerOrder
Checks the status of the the order notifications. (Hook OBJ_AfterUpdateCustomerOrder)
Syntax |
OnAfterUpdateCustomerOrder( $hValues ); |
Input |
|
OnBeforeEditOrder2Order
adds the editable order to the NewOrders notifications if an editable order was saved and used as order and if the original order has not ViewedOn date (Hook BeforeEditOrder2Order)
Syntax |
OnBeforeEditOrder2Order( $hValues ); |
Input |
|
OnDeleteCustomerOrder
deletes the NewOrders notifications (Hook OBJ_DeleteCustomerOrder)
Syntax |
OnDeleteCustomerOrder( $hValues ); |
Input |
|
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 |
|
OnOrderCreatedSetOrderStatusPaidOn
Triggered by hook API_OrderCreated. Set the status PaidOn to the current date time if total amount of order is 0.00
Syntax |
OnOrderCreatedSetOrderStatusPaidOn( $hParams ); |
Input |
|
OnOrderCreatedShopNotification
activates the NewOrders notifications (Hook API_OrderCreated)
Syntax |
OnOrderCreatedShopNotification( $hValues ); |
Input |
|
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 |
|