The fee in the checkout
What the customer sees, what the percentage is calculated on, how taxes work and how to place the fee correctly among the order totals.
What the customer sees
- In the list of payment methods, PayPal shows your Title in payment methods. Use it to announce the fee, for example
PayPal (+3.4% fee). - After choosing PayPal, the order totals show a row with your Title in order total table and the amount, and the final total includes it.
- After the order, the fee row is saved with the order like any other total: it appears in the confirmation e-mail, in Sales → Orders, on the invoice and in the customer's order history.
The fee is only added while PayPal Payments Standard is enabled and is the payment method chosen in the checkout. If the customer goes back and chooses another method, the row disappears.
In the standard OpenCart checkout, the payment method is saved when the customer continues from the payment step, so the fee row is visible in the confirmation step. FlowyCart 1.3.3 and later calculates the totals for the method the customer clicks, so the fee row appears as soon as PayPal is chosen.
What the percentage is calculated on
The percentage is applied to:
- the total of the products in the cart, including their taxes when your store shows prices with tax (Display Prices With Tax in the Option tab of System → Settings);
- plus the cost of the chosen shipping method, without its tax.
Coupons, vouchers, reward points and other totals are not taken into account. Then the Minimum fee (fix quantity) is applied if the result is lower.
Example
Products 100 with 21 of tax, prices shown with tax, shipping 10, fee 3.4%: the base is 100 + 21 + 10 = 131, and the fee is 3.4% of 131 = 4.45.
Taxes
When Apply tax to fee has a tax class, OpenCart calculates the tax of the fee with the rates of that class and adds it to the tax rows of the order. The fee row itself shows the amount without tax.
For the tax to appear in the Taxes rows and in the final total, the fee must be calculated before the taxes: give Paypal Fee in the order totals a Sort Order lower than the one of Taxes.
Two sort orders
The fee has two different positions:
| Setting | What it controls |
|---|---|
| Sort order in total table (PayPal settings) | Where the fee row is shown in the list of totals. Empty means 3. |
| Sort Order of Paypal Fee in the order totals | When the fee is calculated. It must be lower than Total, or the final amount will not include the fee. |
In a standard OpenCart 3 store, Sub-Total is 1, Shipping 3, Taxes 5 and Total 9. Showing the fee at 3 and calculating it at 4 works in most stores.
Before you publish
Place a test order with PayPal and check the title in the list of payment methods, the fee row, the tax and the final total in each language of your store. Then check that the amount PayPal asks the customer to pay matches the order total.
Still need help?
Open a support ticket from your account and our team will look at your store with you.