Skip to content
OpenCart · User manual

Payment Fees PRO

Version 1.0.1 Product page
Chapter 7

Fees in the checkout

What the customer sees when choosing a payment method, how the amount is calculated, how taxes are treated and how the fee works with one-page checkouts.

What the customer sees

  1. In the list of payment methods, the methods with an enabled fee row show your Message about fee after their name.
  2. After choosing the method, the order totals show a row with the Fee general title and the amount, placed according to the Sort Order of the General settings. The final total includes it.
  3. After the order, the fee row is saved with the order like any other total. It appears in the order confirmation e-mail, in the order in Sales → Orders, on the invoice and in the customer's order history.

The fee depends on the payment method saved in the customer's session. In the standard OpenCart checkout, that happens when the customer continues from the payment method step, so the fee row is visible in the confirmation step. If the customer goes back and chooses another method, the fee of the new method replaces the old one, or disappears if the new method has none.

How the amount is calculated

For a Fixed fee, the amount is the Fee plus the Extra Fix fee.

For a Percentage fee, the percentage is applied to:

  • the subtotal of the products, without taxes;
  • plus the cost of the chosen shipping method, without its tax;
  • plus, only when Include Taxes is on, the taxes of the order.

Then the Extra Fix fee is added. Coupons, vouchers, reward points and other totals are not taken into account: a coupon that lowers the order does not lower the base of the fee.

Example

Subtotal 100, shipping 10, taxes 23, fee 2% with an extra fixed fee of 0.30:

Include TaxesBaseFee
Off100 + 10 = 1102% of 110 + 0.30 = 2.50
On100 + 10 + 23 = 1332% of 133 + 0.30 = 2.96

Taxes

  • Tax class: by default the fee is not taxed. When you choose a Tax class in the General tab, OpenCart calculates the tax of the fee with the rates of that class for the customer's address and adds it to the Taxes rows of the order. The fee row itself shows the amount without tax. For the tax to be included, the fee's Sort Order must be lower than the one of Taxes.
  • Include Taxes only changes the base of a percentage fee. It counts the taxes calculated before the fee in the order of totals: the product taxes always, and the shipping tax when the fee's Sort Order is higher than the one of Shipping.

Check with your accountant how your country treats payment surcharges before choosing a tax class.

The fee row and the other totals

The fee row is shown at the position of its Sort Order. It must be lower than the sort order of Total, so the final amount includes the fee. See General settings.

The fee row is not listed in Extensions → Extensions → Order Totals. You change its position only in the module.

Checkouts

Standard OpenCart checkout

The message is added to the list of payment methods, and the fee row appears in the confirmation step once the customer has chosen a method.

Journal 3 checkout

The extension also adds the message to the payment methods of the Journal 3 one-page checkout. The fee row is calculated by the order totals as in the standard checkout.

FlowyCart

FlowyCart 1.3.3 and later calculates the order summary for the payment method the customer clicks, before it is saved, so the fee row appears as soon as the method is chosen, also before the terms are accepted. With earlier versions of FlowyCart, the fee appears only once the method is saved. Update FlowyCart from the Download Center if you use an earlier version.

Other one-page checkouts

The fee row is an OpenCart order total, so it is calculated in any checkout that uses OpenCart's order totals once the payment method is saved in the session. Checkouts that build their own list of payment methods may show the method names without your message, and may only update the totals when the method is saved. Test the checkout of your store after setting up a fee.

Before you publish

Place a test order with each method that has a fee and check:

  • the message next to the method name, in each language;
  • the fee row, its title and its amount;
  • the final total and the amount the payment provider asks for;
  • the order in your administration and the confirmation e-mail.

Still need help?

Open a support ticket from your account and our team will look at your store with you.