Configuration

With the Tax Calculation service plugin integrated into your app, Wix will call your app with Calculate Tax whenever tax needs to be recalculated on a site. For example, when line items are updated in a cart or checkout. Follow these steps to add the service plugin and enable Wix to communicate with your app.

  1. Go to the Extensions tab in the Wix Dev Center.

  2. Click + Create Extension in the top right.

  3. Find Tax Calculation Provider and click + Create.

  4. Use the JSON editor to create the extension's configuration file. Configure the parameters by referencing the table below or the Documentation section to the right of the editor. For each parameter, add the parameter name and value in the JSON editor.

    NameTypeDescription
    deploymentUristringRequired.

    Base URI where the endpoints are called. Wix appends the endpoint path to the base URI.

    For example, to call the Calculate Tax endpoint at https://my-tax-calc.com/v1/calculateTax, the base URI you provide here is https://my-tax-calc.com/.

    calculatorDisplayNamestringDisplay name of the tax calculator.
    unsupportedCountriesarrayList of countries, in ISO-3166 alpha-1 format, that the calculator does not support.
    componentNamestringA unique name for this component. This is an internal name that will only appear in the Dev Center.
  5. Click Test Your App.

Did this help?