Introduction
Testing your checkout is a critical step before launching or updating a Shopify store. Using a Shopify bogus gateway credit card allows you to simulate transactions without spending actual money. This process ensures that your payment settings, shipping calculations, and email notifications function correctly. We designed HidePay to help merchants refine this experience once the basic payment infrastructure is in place.
This guide explains how to activate the Bogus Gateway and which card numbers to use for various outcomes. It is intended for merchants who need to verify their order flow in a safe environment. You will also learn how to move beyond basic testing to a fully optimized checkout. By the end of this article, you will know how to validate your checkout and use rules to control which payment methods appear for different customers — get HidePay for your store to start creating those rules.
Understanding the Shopify Bogus Gateway
The Bogus Gateway is a built-in testing tool that simulates a third-party payment provider. It is different from the Shopify Payments test mode, although both serve the purpose of order validation. The Bogus Gateway is available to any store, regardless of its location or whether it uses Shopify's own payment processor.
When you use this gateway, Shopify treats the transaction as a real order in your admin panel. However, no actual funds move between accounts. This makes it a reliable way to check if your inventory levels drop after a sale or if your fulfillment apps receive the necessary data. It is an essential tool for developers and merchants who want to see exactly what a customer experiences during the final moments of a purchase.
How to Activate the Bogus Gateway
Before you can use a test credit card, you must enable the correct gateway in your Shopify admin. You cannot have a live credit card provider and the Bogus Gateway active at the same time.
To activate the gateway, follow these steps:
- Open your Shopify admin and navigate to the Settings menu.
- Select Payments.
- If you currently have a provider like Shopify Payments active, you must deactivate it first. Click Manage, then scroll to the bottom to find the deactivation option.
- Once deactivated, look for the section titled Payment providers or Third-party providers.
- Click Choose a provider and search for "(for testing) Bogus Gateway" in the list.
- Select it and click Activate.
After these steps are complete, your checkout will no longer accept real credit cards. Instead, it will only accept the specific bogus credentials provided by Shopify. Always remember to deactivate this gateway and restore your real payment provider before you go live.
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.
Using Shopify Bogus Gateway Credit Card Numbers
To simulate different outcomes at checkout, you need specific inputs for the card number field. The name on the card should always be entered as "Bogus Gateway" to ensure the system recognizes the test. You can use any three-digit number for the CVV and any date in the future for the expiry.
The results depend entirely on the number you enter in the card field:
- To simulate a successful transaction: Enter "1" as the credit card number. This tells Shopify the payment was authorized. The system will create an order marked as "Paid."
- To simulate a failed transaction: Enter "2" as the credit card number. This simulates a card being declined. You can then see the error message that a customer would encounter.
- To simulate a provider exception: Enter "3" as the credit card number. This simulates a technical error where the gateway cannot communicate with the bank.
Testing with these numbers helps you verify your "thank you" page and your automated "Order Confirmation" emails. If you enter "1" and do not receive an email, you know there is a configuration issue with your notifications rather than the payment itself.
Bogus Gateway vs. Shopify Payments Test Mode
It is common to confuse the Bogus Gateway with Shopify Payments test mode. While they both allow for testing, they operate in different ways and require different card numbers.
When to Use Shopify Payments Test Mode
If your store uses Shopify Payments as its primary processor, you should use its internal test mode. This allows you to test specific card types like Visa, Mastercard, or American Express. Unlike the Bogus Gateway, which uses single digits like "1" or "2," Shopify Payments test mode requires full 16-digit test card numbers. For example, using "4242 4242 4242 4242" simulates a successful Visa transaction.
When to Use the Bogus Gateway
Use the Bogus Gateway if you are not using Shopify Payments or if you want to test how the checkout behaves when a third-party provider is the only option. It is a more "generic" test that works across all regions. It is also the standard choice for development stores where Shopify Payments might not be fully configured yet.
Testing Advanced Checkout Scenarios
Once you have the Bogus Gateway running, you should test more than just a simple purchase. E-commerce checkouts are complex, and several variables can change based on the customer's input.
Geographic Rules and Currency
If you sell internationally, test how the gateway handles different currencies. Place an order using an address in a different country. Verify that the tax calculations are accurate for that region. If you have rules set up to hide certain payment methods in specific countries, the test gateway will help you confirm they are working — see the HidePay guide on using localized country, shipping country, and Shopify Markets for precise rule behavior.
Cart Totals and Discounts
Test your checkout with various cart values. Apply discount codes to see if the final total remains accurate. If you use HidePay to hide certain payment options for high-value orders to reduce risk, the Bogus Gateway is the perfect environment to verify those triggers. For instance, you might want to ensure that "Cash on Delivery" disappears when the cart total exceeds a certain amount — follow the step-by-step help doc on preventing fraud by hiding Cash on Delivery for expensive orders.
Customer Tags and B2B Orders
If you run a B2B store, your checkout may look different for logged-in wholesalers compared to guest shoppers. Use the Bogus Gateway to place an order while logged in as a customer with a "Wholesale" tag. This ensures that any specific payment terms or methods assigned to that group appear correctly.
Refining Your Checkout Experience
Successful testing with a bogus gateway is only the first step. After you confirm that your payments work, the next goal is to optimize the checkout for conversion and safety. Many merchants find that offering too many payment options leads to "analysis paralysis" for the customer.
This is where we help merchants gain more control. By using our tool, you can create rules that determine when specific payment methods should appear. If a payment method has high transaction fees or a high rate of chargebacks, you might choose to hide it for certain products or customer segments.
The app allows you to:
- Sort payment methods: Place your most profitable or highest-converting options at the top of the list — see the HidePay documentation for how to sort and rename payment methods in the checkout.
- Rename options: Change "Standard Credit Card" to something more descriptive or localized for your market.
- Hide options based on conditions: Remove irrelevant choices based on the customer's zip code, cart contents, or total weight — learn how to create a payment customization rule to apply these conditions.
These customizations run on native Shopify Functions. This technology ensures that your checkout remains fast and reliable. Because the logic is built directly into Shopify’s infrastructure, there are no external scripts that could slow down the page or cause errors during the payment process. If you’re migrating legacy scripts or want codeless function creation, consider exploring SupaEasy for generating Shopify Functions without coding.
Protecting Your Bottom Line
Testing with a bogus gateway often reveals vulnerabilities in a merchant's strategy. You might realize that offering "Cash on Delivery" for expensive electronics is too risky. Or you might see that express checkout buttons like PayPal Express are cluttering the top of the page and distracting customers from finishing the standard flow.
Our tool enables you to block these express buttons based on specific rules. If you find that certain express gateways do not collect the necessary customer data for your fulfillment process, you can hide them for specific product types. This level of control protects your margins and ensures that every order you receive is one you can profitably fulfill. If you also need to manage shipping-side visibility, HideShip can be paired with HidePay to control shipping methods alongside payment rules.
Best Practices for Post-Testing Optimization
After you have completed your tests with the Shopify bogus gateway credit card numbers, follow these steps to move toward a live, optimized environment:
- Audit your payment methods: Look at your processing fees. If one provider is significantly more expensive, consider hiding it for lower-margin products.
- Segment your audience: Use customer tags to offer specialized payment methods. Wholesalers might see "Bank Transfer," while retail customers see "Credit Card."
- Optimize for mobile: Ensure that the most mobile-friendly payment options appear first. Digital wallets often convert better on smartphones.
- Monitor for friction: If you notice high abandonment at the payment step, use our app to simplify the choices. Fewer, more relevant options usually lead to higher conversion rates.
By moving from a "one-size-fits-all" checkout to a rule-based system, you create a more professional experience. This not only improves the customer journey but also gives you the tools to manage your business's financial risks.
Using HidePay for Advanced Logic
While Shopify provides the foundation for payments, HidePay provides the logic for optimization. We built this tool to bridge the gap between "standard" checkout settings and the specific needs of modern merchants. Whether you are a dropshipper trying to avoid high-risk regions or a B2B merchant managing complex net-payment terms, our app provides the necessary flexibility.
The setup process is straightforward. You do not need to edit your theme code or hire a developer. Everything is managed through an intuitive interface in your Shopify admin. You can set up a rule in minutes—for example, hiding a specific gateway if the customer is ordering from a country where you have historically faced shipping issues. This proactive approach to checkout management is what separates growing stores from those that struggle with manual order reviews and high chargeback rates.
Ready to take full control of your checkout? Install HidePay from the Shopify App Store today to start optimizing your payment methods with native Shopify Functions.
Conclusion
The Shopify Bogus Gateway is an invaluable tool for validating your store's configuration. By using test credit card numbers like "1," "2," and "3," you can simulate various outcomes and ensure your backend systems are ready for real traffic. Once you have confirmed that your checkout functions as intended, the focus should shift to refining the customer experience.
Customizing your payment list ensures that shoppers only see the most relevant and secure options. This reduces friction and protects your business from unnecessary costs. We recommend testing your checkout regularly, especially after adding new apps or changing your shipping settings.
Key takeaways for testing and optimization:
- Use the Bogus Gateway to simulate successful and failed orders without using real funds.
- Distinguish between Bogus Gateway and Shopify Payments test mode to use the correct card numbers.
- Test various scenarios, including different geographic locations and cart totals.
- Apply rule-based logic to hide, sort, or rename payment methods to improve conversion.
Ready to take full control of your checkout? Try HidePay on Shopify and add HidePay to your Shopify store to begin creating rules and reducing checkout friction.
FAQ
Can I use the Bogus Gateway on a live store?
You can, but it is not recommended for an active store with real traffic. While the Bogus Gateway is active, your store will not be able to accept real payments from customers. If you must test on a live store, do so during low-traffic periods and switch back to your real provider immediately after testing. For step‑by‑step help creating payment customizations, see the HidePay documentation on creating a payment customization.
What is the difference between Bogus Gateway and Shopify Payments test mode?
The Bogus Gateway is a generic simulator that works for all merchants and uses simple card numbers like "1" or "2." Shopify Payments test mode is specific to Shopify's own payment processor and requires 16-digit test card numbers to simulate different card types like Visa or Mastercard.
Why did my test order not trigger an email notification?
If a test order with card number "1" does not trigger an email, check your notification settings in the Shopify admin. It may also be due to your store being on a trial plan or a development plan that limits email sending. Ensure the "Order Confirmation" template is active and has not been incorrectly customized.
Do test orders affect my sales reports or analytics?
No, orders placed through the Bogus Gateway or in Shopify Payments test mode do not appear in your financial payouts or standard sales reports. They are excluded from your analytics to ensure your data remains accurate and is not skewed by testing activity.
How do I hide specific payment methods based on a customer's country?
You can use our app to create a geography-based rule. Simply select the payment method you want to hide and define the country or region where it should not appear. This is handled natively through Shopify Functions, ensuring the rule applies instantly when the customer enters their shipping address at checkout. See the HidePay help doc on choosing between localized country, shipping country, and Shopify Market for guidance.
Is it possible to rename a payment gateway so customers see a different label?
Yes, our tool allows you to rename any payment method. This is useful for localizing terms, such as changing "Credit Card" to a language-specific term, or for providing more clarity, such as adding "Secure Payment" to a specific provider's name. Learn more in the HidePay guide on sorting and renaming payment methods.
Can I test B2B payment terms using these gateways?
Yes. If you have B2B features enabled, you can place a test order using a company profile and a bogus gateway. This allows you to verify that specific payment terms, such as "Net 30," appear correctly for your wholesale clients before you go live.
Why should I use a rule-based app instead of just leaving all payment options active?
Offering too many payment options can overwhelm customers and lead to cart abandonment. Additionally, some methods may have higher fees or chargeback risks. Using a rule-based tool allows you to show only the most efficient and safe options for each specific transaction, improving both your conversion rate and your profit margins.
Helpful resources
- HidePay on the Shopify App Store
- Install HidePay
- How to create a payment customization (HidePay docs)
- Sort and Rename payment methods in the Checkout (HidePay docs)
- Preventing Fraud: How to Hide Cash on Delivery for Expensive Orders (HidePay docs)
- When to use Localized Country, Shipping Country and Shopify Market in HidePay (HidePay docs)
- Introducing HidePay for Shopify (Nextools blog)
- Introducing Nextools’ HideSuite: the bundle for smart Shopify merchants (Nextools blog)
- SupaEasy on the Shopify App Store (SupaEasy app)