You are here

function hook_commerce_avatax_create_transaction_alter in Drupal Commerce Connector for AvaTax 7.5

Allows modules to alter the create transaction request before its sent to the Avatax API.

Parameters

array $request_body: The request body array.

object $order: The order object.

See also

commerce_avatax_create_transaction().

1 invocation of hook_commerce_avatax_create_transaction_alter()
commerce_avatax_create_transaction in includes/commerce_avatax.calc.inc
Prepares the transaction request array to be sent to AvaTax.

File

./commerce_avatax.api.php, line 21
This file contains no working PHP code; it exists to provide additional documentation for doxygen as well as to document hooks in the standard Drupal manner.

Code

function hook_commerce_avatax_create_transaction_alter(&$request_body, $order) {
}