Odoo 19 app

Stripe Fees Extension

Stripe Fees Extension: pass the Stripe processing fee on to the customer, with clean accounting

What it does

When a customer pays with Stripe on your website, from an invoice or a quotation in the portal, through a payment link or with Apple Pay or Google Pay, a fixed plus percentage fee is added to the amount charged, at a domestic or an international rate. Orders get a fee line so the totals match, and the fee is booked to an income account of your choice.

Card processing fees come out of your margin. Many businesses - especially B2B and low-margin ones - add the fee to what the customer pays instead.

This module adds a Stripe Fees tab to the Stripe payment provider: switch it on, set the domestic and the international fixed fee and percentage, the product used for the fee line and the income account. When a Stripe payment starts, the fee is added once to the transaction amount before Stripe is called, so the card is charged the full amount; saved cards are charged with the fee too.

Customers see a notice under the Stripe payment option at checkout and on invoice payments. A website order gets a Stripe Processing Fee line so its total equals the amount charged, and the payment's journal entry credits the fee to your fee income account while the receivable is reconciled at the original amount.

Who it is for

  • B2B suppliers paid by card on large invoices. When a customer pays a five-figure invoice by card from the portal, the processing cost comes straight out of your margin. This adds the Stripe fee to the amount charged and books it to an income account, while the invoice itself is settled at its own amount.
  • Low-margin online shops. You keep shelf prices low and only add the card fee when the shopper picks Stripe at checkout. The website order gets a Stripe Processing Fee line, so the order total matches what the card was charged.
  • Sellers with many overseas buyers. International cards usually cost more. You set a domestic rate and an international rate, choose which countries count as domestic, and can add an extra percentage when the customer pays in a foreign currency.
  • Finance teams that want to see the real cost. A daily job can read what Stripe actually kept on each paid transaction and show it next to the fee you charged. A filter then lists the payments where your fee didn't cover Stripe's cost.

Features

Fees per Stripe provider
Notice at checkout
Fee line on the order
Charged once, for the full amount
Clean journal entry
Invoice payments in the portal
Domestic rate on an invoice
Invoice fully paid
No fee from an order amount
Rate by card country, shown on the transaction
Separate fee entry in a fee journal
Free orders flagged
Fees in the transaction list
The exact fee at checkout

Setting it up

  1. Install the module. It needs Stripe, eCommerce and Invoicing, and it creates the Stripe Processing Fee product for you.
  2. Go to Invoicing > Configuration > Payment Providers, open Stripe and click the Stripe Fees tab.
  3. Tick Charge Stripe Fees to Customer and enter the domestic and international Fixed Fee and Percentage Fee.
  4. Under Rate and Threshold, choose Domestic or International From, fill Domestic Countries if it's more than your own country, and set No Fee From if large orders should be exempt.
  5. Under Accounting, pick the Fee Line Product and Fee Income Account, then choose Fee Posting: a line on the payment entry, or a separate entry in a Fee Journal.
  6. Under Customer Display, turn on Show the Fee Amount if shoppers should see the exact fee and new total, and write a Customer Message using {fee}, {total} and {amount} if you want your own wording.
  7. Under Refunds and Audit, pick the Fee on Refunds behaviour and tick Fetch the Actual Stripe Fee if you want the daily comparison. Then run a test payment with your Stripe test keys.

Stripe Fees Extension: questions

Is it legal to add a surcharge to card payments where I sell?

That depends on your country and on card scheme rules, and some places restrict or ban it. The module doesn't check this for you. Confirm with your accountant or local rules before you switch the fee on.

How does the gross-up formula differ from the simple one?

The simple formula charges fixed fee plus order amount times the rate. Gross-up charges enough that you still have the full order amount after Stripe takes its percentage of the larger total. You pick one per provider in Fee Formula.

What happens to the fee when I refund?

By default the whole refund is booked on the customer account, as Odoo normally does. If you choose to reverse the fee in proportion, each refund books its share of the fee back against the fee income account, and the total reversed never goes over what was charged.

Does Apple Pay or Google Pay get the international rate?

No. Express checkout always uses the domestic rate, because the wallet sheet opens before the customer's address is known. The fee is shown as its own line on the wallet sheet.

Is a card saved without paying charged a fee?

No. Only real payments get the fee. A card check with no payment isn't touched, while payments made later with a saved card do include it.

Do I need Enterprise?

No. It depends on payment_stripe, website_sale and account, which are all in Community. It works with Enterprise too.