function hook_commerce_avatax_order_response_alter in Drupal Commerce Connector for AvaTax 8
Let other modules respond to the AvaTax response.
Parameters
array $response_body: The response body array.
\Drupal\commerce_order\Entity\OrderInterface $order: The order.
See also
\Drupal\commerce_avatax\Plugin\Commerce\TaxType\Avatax
1 invocation of hook_commerce_avatax_order_response_alter()
- AvataxLib::transactionsCreate in src/
AvataxLib.php - Creates a new transaction (/api/v2/transactions/create).
File
- ./
commerce_avatax.api.php, line 39 - Hooks provided by the Commerce AvaTax module.
Code
function hook_commerce_avatax_order_response_alter(array &$response_body, OrderInterface $order) {
}