Stripe Surcharge Rules
Card brand and order amount surcharges for Stripe payments in Odoo
What it does
Charge American Express or any card brand its own rate, add a surcharge above an order amount, set a payment fee for some customers, product categories, countries or dates, spare debit cards, and show the customer the exact fee to confirm before the card is charged.
This add-on extends Stripe Fees Extension (the Stripe payment fee module that adds the Stripe processing fee to the customer's payment) with surcharge rules on the Stripe provider. A rule can target a card brand, a card type (credit, debit, prepaid) and domestic or international cards, and apply between an amount above and an amount up to.
Each rule has a rate and a fixed amount, on the whole amount or only on the part above the threshold, and either adds to the standard Stripe fee or replaces it. When several rules match, apply only the highest or all of them.
At checkout the card brand is read from Stripe after the customer enters the card and before the payment is sent. The customer sees the amount, each fee line and the total in a confirmation window and pays that exact total. The transaction keeps the base amount, the fee, the card brand and funding and the fee breakdown; the fee is a line on the sales order.
Who it is for
- Shops where American Express costs more to accept. Amex often carries a higher merchant rate than Visa or Mastercard. A rule for the American Express brand lets you charge that rate only to the customers who pay with it, either on top of the standard Stripe fee or in its place.
- Trade suppliers taking big card orders. You may be happy to absorb the fee on a small order but not on a large one. A rule with an Above amount, and Rate On set to the part above the threshold, adds a surcharge only to the slice of the order past that figure.
- Merchants in markets that limit surcharging. Some countries don't allow a surcharge on debit or prepaid cards. You can write a rule for debit cards at 0% that replaces the standard fee, and keep the confirmation popup on so the customer sees the exact fee before paying.
- Sellers running time-boxed or customer-specific fees. A rule can be limited to certain customers, customer tags, websites, billing countries or product categories, and given a Valid From and Valid Until date. That covers cases like a handling fee on one category or a surcharge that ends at year end.
Features
Setting it up
- Install the module. It pulls in the Stripe Fees Extension, which sets up the standard processing fee.
- Go to Invoicing > Configuration > Payment Providers, open Stripe and go to the Stripe Fees tab.
- Tick Charge Stripe Fees to Customer and enter your domestic and international standard rates.
- In the Surcharge Rules list, add a line per rule: Label, Brand, Card Type, Region, Above, Up To, Rate %, Fixed, Rate On and Standard Fee (Add to standard or Replace standard).
- Open a rule if you need to limit it by Customers, Customer Tags, Websites, Countries, Product Categories, or the Valid From and Valid Until dates.
- Set Several Rules Match to apply only the highest matching rule or all matching rules, and decide on Customer Confirms the Fee and Charge Fees on Saved Cards.
- Place a test-mode order with a Stripe test card of the brand you configured and check the fee breakdown on the payment transaction.
Stripe Surcharge Rules: questions
Can I use this without the Stripe Fees Extension?
No. It's an add-on and depends on it, so the Stripe Fees Extension is installed with it. The standard rates live there, and these rules sit on top.
How does it know the card brand before the card is charged?
After the customer types the card, the module asks Stripe for the card details of the confirmation token and works out the fee from them. The payment is then confirmed with that same token, so the card that pays is the card that was priced.
What if the card that paid is different from the one priced?
The transaction has a card brand mismatch flag that gets set when Stripe reports a different brand from the one used for the quote. You can then look at that payment by hand.
Which card brands can a rule target?
Any card, American Express, Visa, Mastercard, Discover, Diners Club, JCB, UnionPay and eftpos Australia. Card Type can be any, credit, debit or prepaid, and Region can be any, domestic or international.
Will an empty condition block the rule?
No. An empty Customers, Countries, Websites or Product Categories field means the rule matches everyone. Up To set to 0 means there's no upper limit.
Are surcharges legal in my country?
Rules differ by country and card scheme, and some places cap or forbid surcharges on certain card types. The module gives you the controls but doesn't enforce any law, so check with your accountant or card acquirer first.
Related apps

Stripe Payout & Fee Reconciliation
Stripe pays out the net amount after its fees; Odoo books the gross the customer paid. This module imports each payout with its balance transactions, posts one journal entry that splits gross, fees and net, and refuses to post a payout that does not add up.
Payment gateways
Stripe Refund Payment
Process full or partial Stripe refunds from customer invoices and create matching credit notes.
Payment gateways
Stripe Tax
Let Stripe Tax work out the sales tax on your Odoo quotations and invoices.
Payment gateways
SumUp Payment Provider
Send customers to the SumUp hosted page or show the SumUp payment widget inside your checkout; Odoo confirms the order after reading the checkout back from SumUp, saves cards, refunds from Odoo and keeps a full API log.
Payment gateways