About the Wix eCommerce Additional Fees Service Plugin

Important: When developing websites or building apps with Blocks, use Velo service plugins.

As an additional fees calculation provider, you can integrate with Wix to allow merchants to request and use your services on their Wix sites. The additional fees you calculate are then included on the site's cart and checkout pages.

The integration is done via an app in the Wix App Market and by implementing the Additional Fees service plugin. After the app is installed on a site, Wix calls your service whenever the site needs to calculate additional fees for a transaction.

Using the service plugin, you can design your app to calculate various additional fees for the merchant's customers, including:

  • Fragile packaging fees
  • Shipping insurance fees
  • Item warranty fees
  • Gift wrapping fees
  • Carbon offset fees

Learn more about service plugin extensions.

Before you begin

It's important to note that when Wix calls your implementation of the Calculate Additional Fees method, the app must return fees in the same currency as the Wix site. Extract the currency for a site from the request to ensure the correct currency is used in your calculation.

Get started

To enable Wix to communicate with your app:

  1. Go to Extensions in your app's dashboard.

  2. Click Create Extension in the top right.

  3. Filter by eCommerce in the left menu, then find Ecom Additional Fees and click Create.

  4. Provide the following configuration in the JSON editor and then click Save.

    NameTypeDescription
    deploymentUristringRequired. Base URI where the endpoints are called. Wix eCommerce appends the endpoint path to the base URI. For example, to call the Calculate Additional Fees endpoint at https://my-additional-fees.com/v1/calculateAdditionalFees, the base URI you provide here is https://my-additional-fees.com/.
    componentNamestringA unique name for this component. This is an internal name that will only appear in the app dashboard.

See also

Did this help?