Payment Surcharge extension icon

Payment Surcharge for Magento 2

Add a fixed or percentage fee to selected payment methods, shown clearly in the cart totals.

Checkout & Cart Magento 2.4.x Open Source & Adobe Commerce Adobe Marketplace approved $59 USD

Why choose Payment Surcharge?

Payment Surcharge adds a fee when the shopper picks a particular payment method, such as cash on delivery or a bank transfer. Fees can be a fixed amount or a percentage of the subtotal, with a minimum order value and a maximum cap, and they can be taxed if your region requires it. The fee shows as its own line in the cart and checkout totals and carries through to the order, invoice and credit memo.

Payment Surcharge: Overview (screenshot 1 of 8)Payment Surcharge: Admin menu (screenshot 2 of 8)Payment Surcharge: Rule general (screenshot 3 of 8)Payment Surcharge: Rule fee (screenshot 4 of 8)Payment Surcharge: Cart (screenshot 5 of 8)Payment Surcharge: Checkout (screenshot 6 of 8)Payment Surcharge: Admin order (screenshot 7 of 8)Payment Surcharge: Customer order (screenshot 8 of 8)
1 / 8

Key features

  • Per Payment Method Rules
  • Fixed or Percentage Fees
  • Minimum Order Subtotal
  • Maximum Fee Cap
  • Per-Website Scoping
  • Custom Fee Label
  • Optional Fee Taxation
  • Live Checkout & Cart Totals
  • Full Order Lifecycle Visibility
  • Credit Memo Refund Control
  • Guest and Registered Checkout
  • Admin Grid Management
  • ACL-Protected Access
  • Zero Core Code Modifications

At a glance

Module nameMage2Expert_PaymentSurcharge
Composer packagemage2expert/module-payment-surcharge
SettingsStores › Configuration › Mage2Expert › Payment Surcharge (3 options)
Admin menuSales › Payment Surcharge Rules
Per store view settingsNo (global or website level)
APINo custom endpoints (uses Magento's standard APIs)
PHP8.1, 8.2, 8.3, 8.4, 8.5

Installation

After purchasing on the Adobe Commerce Marketplace, install it with Composer using your Marketplace access keys:

composer require mage2expert/module-payment-surcharge
bin/magento module:enable Mage2Expert_PaymentSurcharge
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento cache:flush

Skip setup:di:compile and static-content:deploy if your store runs in developer mode.

Configuration reference

All 3 options under Stores › Configuration › Mage2Expert › Payment Surcharge, grouped as they appear in the admin.

General Settings 3
SettingDescription
Enable Payment SurchargeMaster switch. When disabled, no surcharge is ever applied regardless of configured rules.
Percentage Fee Calculation BaseWhich amount a Percentage-type fee is calculated against.
Refund Surcharge on Full Credit MemoDefault amount preset in the "Surcharge Refund" field when creating a credit memo. The admin can still edit this field on a case by case basis for partial credit memos.

Frequently asked questions

How much does Payment Surcharge cost?
Payment Surcharge costs $59 USD as a one-off purchase on the Adobe Commerce Marketplace.
Which Magento and PHP versions are supported?
Magento Open Source and Adobe Commerce 2.4.x. It is developed and tested on Magento 2.4.8, and supports PHP 8.1, 8.2, 8.3, 8.4, 8.5.
Where do I configure Payment Surcharge?
In the Magento admin under Stores › Configuration › Mage2Expert › Payment Surcharge. It has 3 options, grouped into 1 sections.
Can I switch it off without uninstalling it?
Yes. Set "Enable Payment Surcharge" to No under Stores › Configuration › Mage2Expert › Payment Surcharge. Your settings and data are kept.
Can it be customised for my store?
Yes. As the developer of Payment Surcharge, I can adapt it to your workflow or build related features. Email me with what you need.
Available for new projects

Have a Magento project in mind?

Tell me about your store and what you need. I reply to every enquiry within one business day.

Adobe Certified Expert

Adobe Commerce Developer certification, verified on Credly.

15+ years of Magento

From Magento 1 to Magento 2.4.x, Adobe Commerce and Hyvä.

62 Marketplace extensions

Each one reviewed and approved by Adobe.