Introduction
A Shopify payment gateway works as a secure bridge between your online store and the banking networks that process customer transactions. It manages the delicate hand-off of sensitive financial data, ensuring that funds move from the buyer’s account to yours while protecting both parties from fraud. For most merchants, this process happens in seconds, but the underlying infrastructure involves a complex coordination of multiple financial institutions.
We built HidePay on the Shopify App Store to give merchants more control over this process by allowing them to hide, sort, or rename these payment methods based on specific conditions. Understanding the technical and financial workflow of your gateway is the first step toward optimizing your checkout for higher conversion and lower fees.
This guide explains the mechanics of how Shopify processes payments, the difference between native and third-party gateways, and how the flow of money actually reaches your bank account. By the end of this article, you will understand the full lifecycle of a transaction and how to manage your checkout options strategically.
The Difference Between a Payment Gateway and a Processor
To understand how Shopify handles money, you must distinguish between the payment gateway and the payment processor. While these terms are often used interchangeably, they perform distinct roles in the e-commerce ecosystem.
The Payment Gateway
The gateway is the digital equivalent of a physical point-of-sale terminal. It is the software layer that captures the customer’s credit card information, encrypts it, and sends it to the processor. Its primary job is security and communication. It ensures that the sensitive data never touches your store’s server directly, which helps you maintain PCI compliance.
The Payment Processor
The processor is the engine that moves the money. Once it receives the encrypted data from the gateway, it communicates with the banks. It checks if the customer has enough credit, handles the transfer of funds, and ultimately deposits the balance into your merchant account.
In many modern setups, such as Shopify Payments, the gateway and processor are bundled into a single experience. This simplifies the merchant’s workflow because you only have to manage one relationship and one dashboard.
The Four Stages of a Shopify Transaction
Every time a customer clicks the "Pay Now" button, the system initiates a four-stage process. This cycle ensures the transaction is legitimate and the funds are available.
1. Authorization
When the customer enters their card details, the gateway sends a request to the issuing bank (the customer’s bank). The bank checks for two things: that the card is valid and that there is a sufficient balance. If everything is correct, the bank places a "hold" on the funds. At this stage, no money has moved yet, but the customer’s available credit is reduced.
2. Capture
Once the payment is authorized, it must be captured. In most Shopify setups, this happens automatically as soon as the order is placed. However, some merchants choose manual capture. This is often used to prevent fraud; you can review the order before "capturing" the funds. If you do not capture the payment within the authorization period (usually 7 days), the hold expires, and the money is released back to the customer.
3. Clearing
After the business day ends, the processor sends a batch of captured transactions to the credit card networks. The clearing stage is where the issuing bank transfers the funds to the acquiring bank (your bank). During this stage, various fees are deducted, including interchange fees and network assessments.
4. Funding
This is the final stage where the money hits your bank account. The time it takes for this to happen depends on your payout schedule and your gateway provider. For Shopify Payments users in the United States, this typically happens within two business days.
Key Takeaways for Transaction Stages:
- Authorization is just a "hold"; Capture is what initiates the actual transfer.
- Manual capture can be a powerful tool for high-risk merchants to prevent chargebacks.
- The "Funding" stage is when the net amount (total minus fees) is deposited.
Oculte, ordene e renomeie os métodos de pagamento do Shopify usando condições poderosas. Personalize o seu checkout e controle as opções de pagamento com o HidePay.
Shopify Payments vs. Third-Party Gateways
Shopify offers its own native solution, Shopify Payments, but also supports over 100 third-party providers like PayPal, Stripe, and Authorize.net. Choosing between them impacts your margins and your checkout user experience.
How Shopify Payments Works
Shopify Payments is powered by Stripe’s infrastructure but is fully integrated into your Shopify admin. Because it is native, it eliminates the need to jump between different websites to see your payouts. One of its biggest advantages is the removal of third-party transaction fees. If you use Shopify Payments, you only pay the standard credit card processing rate.
Third-Party Gateways
If you are located in a country where Shopify Payments isn't available, or if you sell products that fall outside its Terms of Service, you must use a third-party gateway. When you use an external provider, Shopify charges an additional transaction fee (ranging based on plan). This is on top of the fees the third-party provider already charges you.
Why Merchants Use Both
Many stores offer Shopify Payments for credit card transactions while also enabling PayPal or Buy Now, Pay Later (BNPL) options like Klarna or Affirm. This gives customers flexibility. However, offering too many options can clutter the checkout. Install HidePay to hide specific third-party gateways for certain products or regions and avoid redundant fees or customer confusion.
Understanding Processing Fees and Payouts
The cost of running a payment gateway is usually broken down into a percentage of the sale plus a flat cent fee (e.g., 2.9% + 30¢). These fees cover the cost of the banking technology, fraud prevention, and the risk the processor takes on.
The Impact of Shopify Plans
Your Shopify subscription plan directly affects your credit card rates.
- Basic Plan: Higher credit card rates, standard transaction fees.
- Advanced/Plus Plans: Lower credit card rates, reduced transaction fees for external gateways.
As your volume grows, the savings from a lower percentage rate often outweigh the cost of a more expensive Shopify plan.
Payout Schedules
Your "payout" is the money sent to your bank account after all fees are deducted. In the Shopify admin, you can track exactly which orders are included in each payout. If a customer initiates a refund, that amount is usually deducted from your next available payout. If you have a high volume of chargebacks, Shopify may place a "reserve" on your account, holding back a percentage of your funds to cover potential future losses.
Accelerated Checkouts and Digital Wallets
Accelerated checkouts like Shop Pay, Apple Pay, and Google Pay work by storing a customer’s payment and shipping info. When a customer uses these, the gateway doesn't need to ask for their address or card number again.
These methods significantly improve conversion rates, especially on mobile. However, they can sometimes cause issues with specific business models. For example, some wholesale merchants want to prevent B2B customers from using Shop Pay because it bypasses their specific net-payment terms.
Our app lets you block these express checkout buttons based on specific rules — see the help article on how to hide the Express Checkout with HidePay for setup details.
How Shopify Functions Power Checkout Customization
In the past, customizing which payment methods appeared at checkout required Shopify Scripts, which was only available to Shopify Plus merchants. This was often buggy and required complex coding.
Today, the platform has moved to Shopify Functions. This is the technology our app uses to interact with the checkout. Because these functions run natively on Shopify’s infrastructure, they are incredibly fast and do not require code edits to your theme. This move to native functions means that any merchant, not just those on Plus, can now control their payment gateway logic with high precision.
If you want to learn more about why Shopify moved away from Scripts, read our detailed post on why Shopify Functions are the future. For merchants who need to create or migrate functions without coding, consider SupaEasy on the Shopify App Store to generate functions codelessly.
Why Native Performance Matters
- No Latency: There is no "flicker" where a payment method appears and then disappears.
- Reliability: The rules work even during high-traffic events like Black Friday.
- Compatibility: Native functions work with Shopify’s Checkout Extensibility updates.
Strategic Use Cases for Hiding and Sorting Payments
Simply having a gateway isn't enough. Smart merchants manage their gateways to maximize profit. Here are common scenarios where controlling the visibility of your payment methods is necessary:
Protecting Margins in Specific Regions
Some payment methods carry much higher fees in certain countries. If you are shipping internationally, you might want to hide a specific high-fee gateway for customers in a region where a cheaper local alternative exists. For example, surface local options for Netherlands customers and hide expensive international credit cards.
To set up country-based rules, follow the HidePay documentation on organizing payment methods by country or Shopify Market.
Reducing Chargeback Risks
High-ticket items are often targets for credit card fraud. Some merchants use HidePay to hide certain payment methods if the cart total exceeds a specific threshold. See the step-by-step guide on creating a payment customization to hide methods by cart total.
Managing Cash on Delivery (COD)
COD is essential in some markets but a nightmare in others. A common strategy is to hide Cash on Delivery for customers who have a history of returning items or for orders that include fragile, high-shipping-cost goods. Use customer tags and follow the help article on hiding payment methods by customer tag and product conditions to configure this behavior.
Action Plan for Payment Optimization:
- Review your "Payments" section in the Shopify admin to see your current effective rate.
- Identify any payment methods that have low usage but high fees.
- Use a tool to reorder your payments so the most popular, lowest-cost options appear first — read the help doc on sorting and renaming payment methods.
- Test your checkout on mobile to ensure accelerated checkout buttons aren't crowding out your primary options.
Handling International Transactions and Multiple Currencies
If you sell globally, your gateway has to handle currency conversion. Shopify Payments allows you to sell in multiple currencies, but the gateway's "clearing" stage becomes more complex.
When a customer pays in Euros and your bank account is in US Dollars, the gateway applies a conversion rate. There is usually a small currency conversion fee baked into this. To maintain your margins, you must ensure that your international pricing accounts for these gateway-level fees.
Some merchants prefer to show different payment providers depending on the currency used. For example, you might want to surface Bancontact only when the customer is browsing in Euros. To learn how to show or hide payment methods by currency, check the article on hiding payment methods for foreign currencies.
Security and Fraud Prevention
The Shopify payment gateway includes built-in fraud analysis. This system uses machine learning to flag orders as Low, Medium, or High risk.
AVS and CVV Checks
The gateway automatically performs Address Verification System (AVS) and Card Verification Value (CVV) checks.
- AVS: Compares the billing address provided by the customer with the address on file at the bank.
- CVV: Confirms the customer has the physical card in their hand (or the digital equivalent).
If these checks fail, the gateway might still authorize the payment, but Shopify will flag it as a risk. In these cases, we recommend using manual capture. This allows you to see the fraud flag before you actually take the money. If the risk is too high, you can cancel the order without ever paying the non-refundable credit card processing fee.
For more guidance on debugging rules and logs when things don't behave as expected, see the HidePay help article on retrieving the correct payment method using logs.
Conclusion
The Shopify payment gateway is a sophisticated system designed to make a highly technical process feel effortless for the merchant. By understanding how the authorization, capture, and funding cycle works, you can make better decisions about which providers to use and how to structure your fees.
Managing your gateway effectively involves more than just turning it on. It requires active curation of the checkout experience. Surface the methods that convert well, hide the ones that eat your margins, and ensure that your most trusted payment options are always front and center.
If you’re ready to take full control of how payment methods appear to your customers, get HidePay for your store and follow our installation guide in the help center to get started quickly. For a deeper look at how HidePay fits into a broader checkout optimization strategy, read our announcement post, Introducing HidePay for Shopify, and learn about combining apps in the HideSuite bundle to manage both payments and shipping together.
FAQ
Why am I being charged an extra transaction fee on my orders?
If you see a "transaction fee" separate from your credit card processing rate, it is likely because you are using a third-party payment gateway instead of Shopify Payments. Shopify charges these fees to maintain the integration with external providers. You can often eliminate these by activating Shopify Payments as your primary gateway.
What is the difference between authorization and capture?
Authorization is the moment the customer's bank approves the transaction and holds the funds. Capture is the moment you, the merchant, actually claim those funds. Most stores are set to "automatic capture," meaning these two steps happen almost simultaneously. Manual capture is used by merchants who want to verify orders for fraud before finalizing the transaction.
Can I hide PayPal for certain products or customers?
Yes, you can hide PayPal or any other gateway using rules based on product tags, customer tags, or cart totals. See the help article on hiding PayPal Express Checkout for specifics and workarounds for one-page checkouts.
How long does it take for money from a sale to reach my bank?
For merchants using Shopify Payments, the payout period is typically between 2 to 4 business days. The exact timing depends on your country and your chosen payout schedule (daily, weekly, or monthly). Third-party gateways have their own schedules, and the funds will be deposited according to their specific terms, not Shopify’s.
Further reading and resources:
- HidePay Help Docs — main index — all setup and troubleshooting guides.
- Nextools Blog — articles on checkout optimization, Shopify Functions, and app bundles.