Indietro Guide ai pagamenti

How to Add Payment Gateway in Shopify for Your Store

Learn how to add payment gateway in Shopify with our step-by-step guide. Activate Shopify Payments, integrate third-party providers, and optimize your checkout.

Introduction

Setting up a payment gateway is the most critical technical step in transforming a Shopify store into a functioning business. This process connects your online storefront to the global banking system, allowing you to securely accept funds from customers. While the initial connection is straightforward, the way you organize these gateways directly impacts your conversion rates and processing costs.

We designed HidePay to help merchants manage these options once they are active. Adding a gateway is only the first part of the equation; the second part is ensuring the right customer sees the right payment method at the right time. This guide provides the exact steps to add various payment providers and explains how to optimize them for a professional checkout experience. If you want to get started right away, you can install HidePay from the Shopify App Store.

You will learn how to activate Shopify’s native tools, integrate third-party providers, and handle regional payment methods. By following these steps, you can build a checkout that is both secure and tailored to your specific business model.

Understanding Shopify Payment Integration

Before adding a gateway, it is helpful to distinguish between the three primary ways Shopify handles transactions. Your store location and the products you sell will dictate which of these you use.

First, there is the native solution provided by the platform. This is the most common choice for merchants in supported regions because it integrates directly with the Shopify admin. Second, there are third-party credit card providers. These are used if the native solution is unavailable in your country or if your business operates in a high-risk category. Third, there are additional payment methods, such as PayPal, Amazon Pay, and Buy Now, Pay Later (BNPL) services like Klarna or Affirm.

Each of these categories requires a slightly different activation process. Choosing the right combination ensures you do not lose customers who prefer specific payment types, while also keeping your transaction fees manageable.

How to Activate Shopify Payments

Shopify Payments is the easiest gateway to set up because it requires no external third-party accounts for basic credit card processing. It also eliminates the additional transaction fees that Shopify charges when you use other providers.

To activate this service, follow these steps:

  1. Log in to your Shopify admin and navigate to Settings, then click Payments.
  2. If your store is eligible, you will see a section for Shopify Payments. Click Activate Shopify Payments or Complete account setup.
  3. Enter your business details. You will need your legal business name, Employer Identification Number (EIN) or equivalent tax ID, and your business address.
  4. Provide your personal details as the account owner for identity verification.
  5. Input your banking information, specifically the routing and account numbers where you want your payouts deposited.
  6. Click Save.

Once activated, you can manage your settings to choose which card types you accept. You can also enable features like Shop Pay, which allows customers to save their information for faster future checkouts. If you find that certain express buttons clutter your layout, we provide tools to hide specific express checkout buttons based on the customer’s cart or location; see the guide on how to hide the Express Checkout with HidePay.

Personalizza facilmente Shopify Payments

Nascondi, ordina e rinomina i metodi di pagamento di Shopify usando potenti condizioni. Personalizza il tuo checkout e controlla le opzioni di pagamento con HidePay.

Adding a Third-Party Credit Card Provider

If Shopify Payments is not available in your country—for example, if you are a merchant in India—you must use a third-party provider to accept credit cards. You can only have one primary credit card provider active at a time.

To add a third-party provider:

  1. In your Shopify admin, go to Settings > Payments.
  2. Locate the Payment providers section.
  3. If you currently have no provider set up, click Choose a provider. If you are switching from an existing one, click Choose another provider.
  4. Search for the provider you wish to use (such as Stripe, 2Checkout, or Authorize.net).
  5. Enter the account credentials provided by that gateway. This usually involves an API key, a merchant ID, or a login email.
  6. Click Activate.

Note that using a third-party provider often incurs an additional transaction fee from Shopify, ranging from 0.5% to 2% depending on your subscription plan. This is in addition to the processing fees charged by the gateway itself.

Integrating Additional Payment Methods

Additional payment methods are services that sit alongside your main credit card processor. These include digital wallets and installment-based services. Offering these can significantly reduce cart abandonment by catering to customer preferences.

Setting Up PayPal

PayPal is often the first additional method merchants add. In many regions, Shopify automatically creates a PayPal Express Checkout account using the email address you used to sign up for your store.

  1. Go to Settings > Payments.
  2. In the Additional payment methods section, find PayPal.
  3. Click Activate. You will be redirected to PayPal to log in and grant permissions to Shopify.
  4. Once authorized, the status will update to "Active" in your admin.

If you need to hide PayPal Express on specific flows, there is a step-by-step help article on how to hide the PayPal Express Checkout button in checkout.

Adding Buy Now, Pay Later (BNPL)

Services like Klarna, Affirm, and Afterpay are increasingly popular. These are often added as "Alternative Payment Methods" or via specific Shopify apps.

  1. In the Payments settings, scroll to Additional payment methods.
  2. Click Add payment methods.
  3. You can search by the specific method (e.g., "Klarna") or by the provider name.
  4. Select the desired service and click Activate.
  5. Follow the prompts to connect your merchant account for that specific service.

The Modern App-Based Payment Integration

Shopify has transitioned most of its payment integrations to an app-based model. This means that instead of just entering an API key in a text box, you often install a dedicated payment app from the Shopify App Store that handles the connection.

When you choose a provider from the list in your admin settings, Shopify may prompt you to "Install app." This is the modern standard for security and performance. Once the app is installed, you configure your settings within the app interface, and it "marks" itself as ready within your Shopify admin. After the app is configured, you must return to the Payments page in your Shopify settings to officially click Activate. The gateway will not appear at checkout until this final activation step is completed.

If you need tools to create or migrate Shopify Functions (used by modern payment and discount integrations), consider SupaEasy on the Shopify App Store.

Testing Your Payment Gateway

Never launch a store without testing your payment setup. There are two ways to do this: using Test Mode or performing a real transaction.

Using Test Mode

If you are using Shopify Payments, you can enable a simulated environment to verify that the checkout flow works without spending real money.

  1. In Settings > Payments, click Manage on the Shopify Payments section.
  2. Scroll to the bottom and check Enable test mode.
  3. Save your changes.
  4. Go to your storefront, add an item to your cart, and proceed to checkout.
  5. Use a test credit card number (provided in Shopify's documentation) to complete the order.

Important: Disable test mode immediately after you finish testing, or your customers will not be able to make real purchases.

Performing a Real Transaction

If you are using a third-party provider that does not support a simple test mode toggle, the best practice is to perform a real transaction.

  1. Set the price of a product to a small amount (e.g., $1.00).
  2. Purchase the product using your own credit card.
  3. Verify that the funds appear in your gateway's dashboard.
  4. Refund the transaction immediately to avoid unnecessary fees.

Strategic Optimization of Your Payment Stack

Adding gateways is only the technical foundation. The strategic part is managing how those gateways appear to your customers. A checkout with ten different payment icons can look cluttered and untrustworthy.

Sorting for Better Conversions

The order in which payment methods appear matters. If most of your customers prefer credit cards, that should be the first option. If you are a B2B merchant, you might want "Bank Transfer" or "Invoice" to be more prominent. Using the tool we developed, you can reorder these options to ensure your most profitable or highest-converting methods are at the top. For instructions on reordering payments, see the help article on how to sort payment methods with the same name.

Renaming for Clarity

Default gateway names are not always clear to customers. For example, a local bank transfer option might be labeled with a generic provider name. You can rename these methods to something more recognizable, like "Local Bank Transfer (SEPA)" or "Pay on Delivery," to give customers more confidence.

Hiding Methods to Protect Margins

Not every payment method should be available for every order. High-risk orders or specific regions might require you to limit your options.

  • Geography: If you sell internationally, you may want to hide Cash on Delivery for countries where your logistics partner doesn't support it.
  • Order Value: You might want to hide expensive BNPL options for very small orders where the fees eat into your margins.
  • Customer Tags: For your trusted B2B customers, you can show an "Invoice" option while hiding it from standard retail customers.

Our app, HidePay, enables these logic-based rules using Native Shopify Functions, ensuring that your checkout remains fast and reliable while you maintain full control. To learn how to create a rule, read the guide on how to create a payment customization with HidePay.

Regional Considerations and Challenges

Payment preferences vary wildly by country. If you are expanding globally, simply adding a credit card gateway is rarely enough.

  • India: As mentioned, Shopify Payments is not available. Merchants frequently use Razorpay or Cashfree. These providers allow for UPI payments, which are essential for the Indian market.
  • Germany: Customers often prefer SEPA Direct Debit or Sofort.
  • Netherlands: iDEAL is the dominant payment method and is practically mandatory for high conversion rates.
  • Brazil: Pix and Boleto are critical for reaching the full market.

When you add these regional gateways, use geography-based rules. There is no reason to show iDEAL to a customer in the United States. Keeping your checkout relevant to the customer's location reduces friction and prevents "analysis paralysis" at the final step of the journey. For a broader overview of why merchants choose HidePay to manage region- and product-based visibility, see the Nextools article Introducing HidePay for Shopify.

Troubleshooting Common Setup Issues

If you have followed the steps above but your gateway is still not appearing, check these three common areas.

1. Store Address Inconsistency

Shopify filters the list of available providers based on the address located in Settings > General. If you are looking for a specific regional provider but your store address is set to a different country, that provider will not show up in the list.

2. Account Approval Status

Many third-party gateways allow you to "connect" your account before you are fully verified. If your account is still in a "Pending" or "Under Review" status with the provider, the gateway may not appear on the live checkout, or it may produce an error when a customer attempts to pay.

3. Currency Conflicts

Some payment gateways only support specific currencies. If your store's primary currency is set to something the gateway does not support, it will remain hidden. Verify that your gateway can process the currency you have set for your Shopify store.

Action Summary for Merchants

Setting up and optimizing your payments should follow a logical sequence:

  • Determine Eligibility: Check if Shopify Payments is available in your region to save on transaction fees.
  • Connect Primary Gateway: Enter your business and bank details to start accepting credit cards.
  • Add Secondary Methods: Integrate PayPal and at least one BNPL service to capture different customer segments.
  • Install Integration Apps: If prompted, install the official app for your third-party provider.
  • Test the Flow: Use test mode or a small real transaction to ensure the money moves correctly.
  • Apply Logic Rules: Use our tool to sort, rename, or hide methods to create a cleaner, more efficient checkout experience.

If you’re looking for a broader technical perspective on why Shopify Functions matter for checkout customizations, read the Nextools post on why Shopify Functions are the future.

Conclusion

Adding a payment gateway is the engine that powers your Shopify store's revenue. Whether you use Shopify Payments or a third-party provider like Razorpay or Stripe, the technical setup is designed to be accessible to everyone. However, simply having the gateways active is only the beginning of a professional e-commerce strategy.

By taking the time to organize, label, and conditionally show these options, you protect your margins and improve the customer experience. We recommend starting with the most common methods for your region and then refining your setup as you gather data on customer preferences.

  • Select the right gateway based on your region and risk profile.
  • Complete all identity and banking verification steps immediately to avoid payout delays.
  • Use Native Shopify Functions to keep your checkout fast while adding custom logic.

To take full control of your checkout layout and protect your business from high-fee or high-risk payment methods, get HidePay for your store on the Shopify App Store and begin setting up your first rules today.

FAQ

Why isn't my payment gateway showing up at checkout?

The most common reasons are that the gateway is not yet "Activated" in your Shopify settings, your store's currency is not supported by the provider, or your store's address is set to a region where the provider does not operate. Double-check the Settings > Payments section to ensure the status is listed as "Active."

Can I use more than one credit card provider on Shopify?

No, Shopify only allows one primary credit card provider to be active at a time. However, you can add multiple "Additional Payment Methods" like PayPal, Amazon Pay, and various Buy Now, Pay Later services alongside your primary credit card gateway.

Does Shopify charge extra fees if I don't use Shopify Payments?

Yes, if you use a third-party payment provider instead of Shopify Payments, Shopify charges an additional transaction fee. This fee varies between 0.5% and 2% depending on which Shopify subscription plan you are currently using.

How do I change the order of payment methods at checkout?

By default, Shopify determines the order of payment methods. To gain manual control and reorder them, you can use our app to sort the list. This allows you to place preferred methods, like credit cards or specific local options, at the very top of the list for better conversion. For practical steps, see the help article on sorting payment methods with duplicate names.


Need step-by-step help installing or configuring HidePay? Start by visiting the HidePay listing in the Shopify App Store to try HidePay on Shopify.

Inizia a usare HidePay

Nascondi, ordina e ottimizza i metodi di pagamento di Shopify istantaneamente, senza bisogno di codice.