You are here

function hook_uc_authorizenet_transaction_alter in Ubercart 8.4

Same name and namespace in other branches
  1. 7.3 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()
AuthorizeNet::_uc_authorizenet_charge in payment/uc_authorizenet/src/Plugin/Ubercart/PaymentMethod/AuthorizeNet.php
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.';
}