function hook_uc_authorizenet_transaction_alter in Ubercart 7.3
Same name and namespace in other branches
- 8.4 payment/uc_authorizenet/uc_authorizenet.api.php \hook_uc_authorizenet_transaction_alter()
Allows transaction data to be altered before sending to Authorize.net.
Parameters
$data: The transaction data as specified by the Authorize.net API.
1 invocation of hook_uc_authorizenet_transaction_alter()
- _uc_authorizenet_charge in payment/
uc_authorizenet/ uc_authorizenet.module - Handles authorizations and captures through AIM at Authorize.net.
File
- payment/
uc_authorizenet/ uc_authorizenet.api.php, line 19 - Hooks provided by the Authorize.net module.
Code
function hook_uc_authorizenet_transaction_alter(&$data) {
$data['x_description'] = 'Custom Authorize.Net transaction description.';
}