uc_authorizenet.api.php in Ubercart 8.4
Same filename and directory in other branches
Hooks provided by the Authorize.net module.
File
payment/uc_authorizenet/uc_authorizenet.api.phpView source
<?php
/**
* @file
* Hooks provided by the Authorize.net module.
*/
/**
* @addtogroup hooks
* @{
*/
/**
* Allows transaction data to be altered before sending to Authorize.net.
*
* @param $data
* The transaction data as specified by the Authorize.net API.
*/
function hook_uc_authorizenet_transaction_alter(&$data) {
$data['x_description'] = 'Custom Authorize.Net transaction description.';
}
/**
* @} End of "addtogroup hooks".
*/
Functions
Name | Description |
---|---|
hook_uc_authorizenet_transaction_alter | Allows transaction data to be altered before sending to Authorize.net. |