You are here

function commerce_avatax_api_mode in Drupal Commerce Connector for AvaTax 7.5

Returns the API mode.

5 calls to commerce_avatax_api_mode()
commerce_avatax_account_number in ./commerce_avatax.module
Returns the site-wide AvaTax account number.
commerce_avatax_company_code in ./commerce_avatax.module
Returns the site-wide AvaTax company code for a given API mode.
commerce_avatax_credentials_settings_form in includes/commerce_avatax.admin.inc
Builds the AvaTax credentials settings form.
commerce_avatax_license_key in ./commerce_avatax.module
Returns the site-wide AvaTax license key.
commerce_avatax_object in ./commerce_avatax.module
Returns a statically cached instance of an Avatax object.

File

./commerce_avatax.module, line 155
AvaTax service integration from Avalara, Inc.

Code

function commerce_avatax_api_mode() {
  return variable_get(COMMERCE_AVATAX_VAR_PREFIX . 'api_mode', COMMERCE_AVATAX_DEVELOPMENT_MODE);
}