Skip to main content
Setup GuideVerified Feb 23, 2026

How to Pass Credit Card Processing Fees to Customers on Shopify

Step-by-step setup for adding credit card surcharges to your Shopify checkout using Magical Fees, including state-level legality considerations.

Overview

Credit Card Surcharges: Credit card surcharges are additional charges of 1.5–4% added at checkout when customers pay by credit card. Many merchants also add surcharges for other payment methods (PayPal, Klarna, and other alternative payment methods) where permitted. Rules vary by country: the UK and EU ban surcharges on card (and in the UK, PayPal) payments; Australia allows them but caps them at the merchant's cost of acceptance; the US and Canada generally permit them with disclosure. Merchants must comply with local regulations and payment provider terms.

Setup steps

Follow these steps to get credit card surcharges on shopify running with Magical Fees & Tariffs.

Install Magical Product Fees

  1. 1

    Install from the Shopify App Store

    Visit the Magical Product Fees listing on the Shopify App Store and click "Add app" to install it on your store. The free trial gives you time to configure and test before committing.

  2. 2

    Open the app and start a new fee

    From your Shopify admin, go to Apps and open Magical Product Fees. Click "Create fee" to start setting up your first fee rule.

  3. 3

    Choose your fee method

    Select the Function Method (recommended for most stores — fees appear as part of a product bundle at checkout) or the Block Method (fees appear as separate line items — preferred for stores that need discounts to apply to fees).

How to Pass Credit Card Surcharges on Shopify

  1. 4

    Install Magical Product Fees

    Install Magical Product Fees on your Shopify store. The free trial gives you time to configure your fees and test before committing.

  2. 5

    Create a surcharge rule

    Create a surcharge rule, set the percentage (typically 2–3%), and configure it to apply only to credit card payments. Exclude regions where surcharges are banned (Connecticut, Massachusetts, Puerto Rico) if needed.

  3. 6

    Test with a sample order

    Assign the surcharge rule to the appropriate payment methods, place a test order using a credit card, and verify the surcharge appears correctly at checkout.

Want to learn more?

Explore the full details including regulations, comparisons, and pricing.

Can't find what you're looking for?

We build custom solutions and love hearing from merchants. Tell us what you need.

Get in touch