You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 22, 2019. It is now read-only.
An error is encountered when attempting to configure the AvaTax extension's mode and credentials at the website scope.
Preconditions
Magento 2.2.x
AvaTax extension 1.x
Steps to reproduce
In Magento backend, navigate to STORES > Settings > Configuration > SALES > Tax > AvaTax Settings
Ensure scope is set to default and set Enable AvaTax = No
Save Configuration
Change scope to a specific website
Enable AvaTax, set Mode = Production, and provide production credentials (account number, license key, and company code)
Click 'Save Configuration'
Expected result
Magento should report a successful connection to AvaTax with the following message: "Successfully connected to AvaTax using the Production credentials"
Actual result
Magento reports one or more configuration values are missing with the following message: "The AvaTax extension is set to "Production" mode, but production credentials are incomplete."
The text was updated successfully, but these errors were encountered:
It looks like the reported error is caused by the method retrieving the production company code not including a scope type. However, once this is fixed, a different error is produced:
"Notice: Undefined index: Production" or "Notice: Undefined index: Development", depending on which mode is chosen.
I've identified some other methods that don't provide a scope type when retrieving config values; and after updating each of those, the problem appears to be fixed.
An error is encountered when attempting to configure the AvaTax extension's mode and credentials at the website scope.
Preconditions
Steps to reproduce
Expected result
Actual result
The text was updated successfully, but these errors were encountered: