hook_ec_txn_workflow($txn, $orig_txn)
ecommerce-5--4/docs/developer/hooks/core.php, line 434
Process changes to the system when the transaction workflow changes
Whenever the workflow of a transaction changes the system will invoke this hook to allow the system to make changes outside of e-Commerce such as create transactions for the General Ledger interface.
$txn The transaction object after the transaction has been saved.
$orig_txn The transaction object before the transaction was saved.
<?php
function hook_ec_txn_workflow($txn, $orig_txn) {
// TODO - Create example
}
?>