%= render 'spree/admin/shared/taxes_tabs' %>
<% content_for :page_title do %>
<%= Spree.t(:avalara_settings) %>
<% end %>
<% content_for :page_actions do %>
<%= Spree.t(:avatax_company_code) %>: |
<%= Spree::Avatax::Config.company_code %> |
<%= Spree.t(:avatax_license_key) %>: |
<%= Spree::Avatax::Config.license_key %> |
<%= Spree.t(:avatax_account) %>: |
<%= Spree::Avatax::Config.account %> |
<%= Spree.t(:avatax_endpoint) %>: |
<%= Spree::Avatax::Config.endpoint %> |
<%= Spree.t(:avatax_tax_service_path) %>: |
<%= AVATAX_SERVICEPATH_TAX %> |
<%= Spree.t(:avatax_address_service_path) %>: |
<%= AVATAX_SERVICEPATH_ADDRESS %> |
<%= Spree.t(:enable_avatax_tax_calculation) %>: |
<%= Spree::Avatax::Config.tax_calculation %> |
<%= Spree.t(:enable_avatax_document_committing) %>: |
<%= Spree::Avatax::Config.document_commit %> |
<%= Spree.t(:log) %>: |
<%= Spree::Avatax::Config.log %> |
<%= Spree.t(:log_to_stdout) %>: |
<%= Spree::Avatax::Config.log_to_stdout %> |
<%= Spree.t(:raise_exceptions) %>: |
<%= Spree::Avatax::Config.raise_exceptions %> |
<%= Spree.t(:enable_avatax_address_validation) %>: |
<%= Spree::Avatax::Config.address_validation %> |
Refuse Checkout if Address Validation Fails |
<%= Spree::Avatax::Config.refuse_checkout_address_validation_error %> |
Customer can Validate Address in Checkout |
<%= Spree::Avatax::Config.customer_can_validate %> |
<%= Spree.t(:avatax_address_validation_enabled_countries) %>: |
<% address_validated_countries = Spree::Avatax::Config.address_validation_enabled_countries %>
<% unless address_validated_countries.nil? %>
<% address_validated_countries.each do |country| %>
- <%= Spree::Country.find_by_name(country) %>
<% end %>
<% end %>
|
<%= Spree.t(:business_address) %>: |
<%= Spree.t(:address1) %>: <%= @avatax_origin["Line1"] %> |
<%= Spree.t(:address2) %>: <%= @avatax_origin["Line2"] %> |
<%= Spree.t(:city) %>: <%= @avatax_origin["City"] %> |
<%= Spree.t(:state) %>: <%= @avatax_origin["Region"] %> |
<%= Spree.t(:zipcode) %>: <%= @avatax_origin["PostalCode"] %> |
<%= Spree.t(:country_code) %>: <%= @avatax_origin["Country"] %> |
|
Connection Status |
<%= link_to({:controller => :avatax_settings, :action => :ping_my_service, :remote => true }, {:class => 'btn btn-small'}) do %>
<% end %>
|
<%= Spree.t('avatax_log') %> |
The avatax log is located in the log directory of your spree app.
Avatax Log - avatax.log |
<%= link_to("Download", { controller: :avatax_settings, action: :download_avatax_log }) %>
|
|