You are here

function hook_commerce_authnet_aim_request_alter in Commerce Authorize.Net 7

Allows modules to alter the parameters of an AIM API request immediately prior to its submission to Authorize.Net.

Parameters

$nvp: An associative array of name-value-pairs that constitute the AIM API request; note that this array contains sensitive data in the form of API credentials and payment card data that should never be logged or retained elsewhere in the Drupal database or filesystem.

$payment_method: The payment method instance array associated with this API request.

1 invocation of hook_commerce_authnet_aim_request_alter()
commerce_authnet_aim_request in ./commerce_authnet.module
Submits an AIM API request to Authorize.Net.

File

./commerce_authnet.api.php, line 21
Documents hooks invoked by the Commerce Authorize.Net module.

Code

function hook_commerce_authnet_aim_request_alter($nvp, $payment_method) {

  // No example.
}