# Magento 2 Surcharge or Additional Fee

### <span style="color: #3b82f6;">Installation and User Guide for Magento 2 Surcharge or Additional Fee Extension</span>

**Table of Contents**

1. [*Installation* ](#bkmrk-installation)
    - *Installation via app/code*
    - *Installation via Composer*
2. [*Configuration Settings for Surcharge* ](#bkmrk-configuration-settin)
    - *General Settings*
    - *Surcharge for Multiple countries/Multiple payment methods*
    - *View Surcharge on the Order Details View Page*
    - *Surcharge for Admin Orders*
3. [*Front-end Site View* ](#bkmrk-front-end-site-view)
    - *Surcharge Percentage/Fixed Amount Per Payment Method and Country*
    - *View Surcharge on the Checkout Page*
    - *Surcharge with the Free Shipping*

### <span style="color: #3b82f6;">Installation</span> [](#bkmrk-)

- <span style="color: #f97316;">**Installation via app/code:**</span> Upload the content of the module to your root folder. This will not overwrite the existing Magento folder or files, only the new contents will be added. After the successful upload of the package, run below commands on Magento 2 root directory.
    
     ```php
    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    php bin/magento setup:static-content:deploy
    ```
- <span style="color: #f97316;">**Installation via Composer:**</span> Please follow the guide provided in the below link to complete the installation via composer.

<p class="callout success">[https://docs.scommerce-mage.com/magento-2-extensions/installation-via-composer/installation-via-composer](https://docs.scommerce-mage.com/magento-2-extensions/installation-via-composer/installation-via-composer)</p>

### <span style="color: #3b82f6;">Configuration Settings for Surcharge</span> [](#bkmrk--1)

Go to **Admin &gt; Stores &gt; Configuration &gt; Scommerce Configuration &gt; Surcharge**

#### <span style="color: #f97316;">General Settings</span> [](#bkmrk--2)

- **Enabled –** Select "Yes" or "No" to enable or disable the module.
- **License Key –** Please add the license for the extension which is provided in the order confirmation email. Please note license keys are site URL specific. If you require license keys for dev/staging sites then please email us at <support@scommerce-mage.com>.
- **Surcharge Label –** This label text gets used in the frontend of the website which will be shown on basket, review, invoice, order, shipment, email confirmation and refund.
- **Surcharge Amount Type –** This option allows you to choose fixed amount or percentage value. Percentage value gets calculated based on the grand total or subtotal attribute been selected.
- **Surcharge Percentage or Fixed Amount –** This is the surcharge or additional fee which will be shown to the customer based on surcharge amount type (fixed to percentage)

[![image (10).jpg](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/scaled-1680-/image-10.jpg)](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/image-10.jpg)

- **Surcharge Percentage or Fixed Amount per payment method or payment method and country -** Fixed or Percentage amount, additional fee will be applied based on grand or subtotal attribute been selected per payment method or payment method and country. Example checkmo:3;cashondelivery:2 or checkmo:3:FR;checkmo:5:GB
- **Grand or Subtotal Attribute –** This option allows you to choose whether you want to apply percentage additional fee on grand or subtotal. This will also apply on Minimum Order Total.
- **Minimum Order Total –** This value will be checked / validated based on the Grand or Subtotal Attribute value been selected.
- **Skip with Free Shipping –** This option can be used if you don't want to charge additional fee when the shipping price is zero. This is useful when you are charging additional fee based on the shipping country but when the shipping is free then you might not want to charge additional fee.
- **Tax Class -** Please select the tax class from the drop-down list**.**
- **Shipping Countries –** The additional fee will be applied only to the specific shipping country(s). Please select all if you want to charge additional fee for all shipping countries.
- **Payment Method –** The additional fee will be applied only to the specific payment method (s). Please select all if you want to charge additional fee for all payment methods.

[![image (12).jpg](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/scaled-1680-/image-12.jpg)](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/image-12.jpg)

Please select the Payment Method, surcharge will be applied only for the selected payment method

- <span style="color: #f97316;">**Surcharge for Multiple countries/Multiple payment methods -**</span> You can set surcharge for multiple countries by selecting countries from **Admin &gt; Stores &gt; Configuration &gt; Scommerce Configuration &gt; Surcharge &gt; General Settings &gt; Shipping Countries**, and multiple payment methods from **Admin &gt; Stores &gt; Configuration &gt; Scommerce Configuration &gt; Surcharge &gt; General Settings &gt; Payment Method.**
- <span style="color: #f97316;">**View Surcharge on the Order Details View Page -**</span> You can see the applied surcharge on the order details view page from **Admin &gt; Sales &gt; Orders &gt; Select Order &gt; Edit** , under "Order Totals" section.
- <span style="color: #f97316;">**Surcharge for Admin Orders -**</span> In the below image you can see the added surcharge value for the order placed from the admin panel, **Admin &gt; Sales &gt; Orders &gt; Create New Order &gt; Select User &gt; Select Product &gt; Add Product.**

**[![image (13).jpg](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/scaled-1680-/image-13.jpg)](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/image-13.jpg)**

### <span style="color: #3b82f6;">Front-end Site View</span> [](#bkmrk--6)

- <span style="color: #f97316;">**Surcharge Percentage/Fixed Amount Per Payment Method and Country**</span> When you set "Surcharge Percentage or Fixed Amount per payment method and country" to "**checkmo:3:FR**" from **Admin &gt; Stores &gt; Configuration &gt; Scommerce Configuration &gt; Surcharge &gt; Surcharge Percentage or Fixed Amount per payment method,** then the fixed or Percentage amount, additional fee will be applied based on grand or subtotal attribute been selected per payment method or payment method and country.
- <span style="color: #f97316;">**checkmo:3:FR -**</span> It will add 3% additional fee on "Subtotal Including Tax" , will be applied for shipping country **France** and payment method **Check Money order.**

**[![image (15).jpg](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/scaled-1680-/image-15.jpg)](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/image-15.jpg)**

- <span style="color: #f97316;">**checkmo:5:GB -**</span> It will add 5% additional fee on "Subtotal Including Tax" , will be applied for shipping country **UK** and payment method **Check Money order.**

**[![image (16).jpg](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/scaled-1680-/image-16.jpg)](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/image-16.jpg)**

- <span style="color: #f97316;">**checkmo:3 -**</span> It will add 3% additional fee on "Subtotal Including Tax", and will be applied only for **Check Money Order** payment method and shipping countries selected from **Admin &gt; Stores &gt; Configuration &gt; Scommerce Configuration &gt; Surcharge &gt; Shipping Countries** .

[![image (17).jpg](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/scaled-1680-/image-17.jpg)](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/image-17.jpg)

- <span style="color: #f97316;">**Set Different Surcharge for Countries -**</span> You can set different surcharge for countries from **Admin &gt; Stores &gt; Configuration &gt; Scommerce Configuration &gt; Surcharge &gt; Surcharge Percentage or Fixed Amount per payment method -** checkmo:3:FR;checkmo:5:GB.
- <span style="color: #f97316;">**View Surcharge on the Checkout Page -**</span> When you select "Surcharge Amount Type" to "**Percentage**" , " Surcharge Percentage or Fixed Amount " to "**10**" and " Payment Method " to "**Cash On Delivery**"/"**Check Money order**" from **Admin &gt; Stores &gt; Configuration &gt; Scommerce Configuration &gt; Surcharge,** then it adds 10 % additional fee on "Subtotal Including Tax" based on selected payment method and shipping countries. To add shipping countries go to **Admin &gt; Stores &gt; Configuration &gt; Scommerce Configuration &gt; Surcharge &gt; Shipping Countries -** Select Shipping Countries from the drop-down list**.**

**[![image (18).jpg](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/scaled-1680-/image-18.jpg)](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/image-18.jpg)**

- <span style="color: #f97316;">**Surcharge with the Free Shipping -**</span> You can skip surcharge for the free shipping orders from **Admin &gt; Stores &gt; Configuration &gt; Scommerce Configuration &gt; Surcharge &gt; Skip with Free Shipping - "Yes".** This option can be used if you don't want to charge additional fee when the shipping price is zero.

[![image (3).png](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/scaled-1680-/fNuimage-3.png)](https://docs.scommerce-mage.com/uploads/images/gallery/2025-05/fNuimage-3.png)

If you have a question related to this extension please check out our [**FAQ Section**](https://www.scommerce-mage.com/magento2-surcharge-or-additional-fee.html#customfaq) first. If you can't find the answer you are looking for then please contact [**support@scommerce-mage.com**](mailto:core@scommerce-mage.com)**.**