hook_alloc_get_payment_data($txn)
ecommerce-5--4/docs/developer/hooks/ec_receipt.php, line 215
Return the payment data of an allocation object. Eg. store returns the data previously assigned in 'set_payment_data'
| Name | Description |
|---|---|
| Hooks | Allow modules to interact with the Drupal core. |
<?php
function hook_alloc_get_payment_data($txn) {
return $txn->payment_data[$txn->payment_method];
}
?>