You are here

uc_authorizenet.api.php in Ubercart 8.4

Same filename and directory in other branches
  1. 7.3 payment/uc_authorizenet/uc_authorizenet.api.php

Hooks provided by the Authorize.net module.

File

payment/uc_authorizenet/uc_authorizenet.api.php
View 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

Namesort descending Description
hook_uc_authorizenet_transaction_alter Allows transaction data to be altered before sending to Authorize.net.