hook_alloc_get_invoice_no($txn)
ecommerce-5--4/docs/developer/hooks/ec_receipt.php, line 311
The allocation object provider returns the invoice number of the allocation object. Eg. store returns the invoice number from the transaction object.
| Name | Description |
|---|---|
| Hooks | Allow modules to interact with the Drupal core. |
<?php
function hook_alloc_get_invoice_no($txn) {
return $txn->txnid;
}
?>