Back to Payment Guides

How to Successfully Run a Shopify Test PayPal Payment

Learn how to successfully run a shopify test paypal payments process. Follow our guide to using the PayPal Sandbox or real transactions to secure your checkout.

Introduction

Verifying your checkout flow before going live prevents lost revenue and customer frustration. While many payment providers offer a simple toggle for testing, PayPal requires a specific approach to ensure your integration works as intended. Confirming that your PayPal setup correctly handles transactions, redirects, and order creation is a fundamental step in launching or updating a store.

We understand that a broken checkout is the quickest way to lose a customer's trust. At HidePay (get HidePay for your store), we focus on giving merchants control over how these payment methods appear, but that control is only useful if the underlying gateway is functioning perfectly. Testing ensures that when a customer clicks the PayPal button, the process from authorization to order confirmation is reliable.

This guide provides a technical and practical walkthrough for testing PayPal payments on Shopify. You will learn the difference between various testing methods, how to use the PayPal Sandbox, and how to troubleshoot common setup errors. By following these steps, you can confidently accept live orders knowing your payment infrastructure is solid. For background on the app and why we built it, see the Introducing HidePay for Shopify announcement on our blog.

Why You Must Test PayPal Separately

A common mistake among merchants is assuming that enabling Shopify’s "Test Mode" covers all payment methods. It does not. Shopify Payments test mode allows you to simulate credit card transactions using specific test numbers, but it explicitly excludes the PayPal Wallet.

PayPal operates as an external gateway. When a customer chooses PayPal, they are redirected to a secure environment outside of Shopify to authorize the payment. Because this involves a handshake between two different platforms, you must verify that the connection is active and that your account permissions are correctly configured.

If you skip this specific test, you might encounter issues like:

  • Payments appearing as "Pending" in Shopify but authorized in PayPal.
  • Orders failing to generate despite a successful payment.
  • Automatic account generated by Shopify using an incorrect or unverified email address.

Testing one rule or one configuration at a time is the best way to isolate these variables. Before you start optimizing your checkout with advanced rules, the core transaction must work.

Method 1: The Real Transaction Strategy

The most reliable way to test the PayPal integration is to perform a real transaction using a small dollar amount. This method is often preferred because it tests the actual live connection rather than a simulated environment.

To perform a real transaction test, follow these steps:

  1. Create a Test Product: Add a product to your store with a price of $1.00. Set the inventory so it is available for purchase.
  2. Use a Different Account: You cannot buy from yourself. You must use a PayPal account that is different from the one linked to your Shopify store. If you do not have a second account, ask a partner or friend to assist.
  3. Complete the Purchase: Navigate to your store as a customer, add the test product to your cart, and proceed to checkout. Select PayPal as the payment method.
  4. Verify the Order: Once the transaction is complete, check your Shopify admin under "Orders." The order should appear immediately with a "Paid" status.
  5. Check the Funds: Log into your merchant PayPal account and verify that the $1.00 (minus processing fees) has arrived.
  6. Issue a Refund: To complete the test, refund the order within the Shopify admin. This confirms that the refund synchronization between Shopify and PayPal is also working correctly.

This method confirms that your email is verified, your merchant account is active, and your API permissions are correctly set. It is the most practical choice for a store ready to launch.

Easily Customize Shopify Payments

Hide, sort, and rename Shopify payment methods using powerful conditions. Customize your checkout and control payment options with HidePay.

Method 2: Using the PayPal Sandbox

For merchants who require more extensive testing without using real money—such as testing complex discount logic or multi-currency flows—the PayPal Sandbox is the standard solution. This is a virtual environment that mimics the live PayPal experience.

Step 1: Create Sandbox Accounts

You must first visit the PayPal Developer Dashboard. Log in with your business credentials and navigate to the "Sandbox Accounts" section. You will need to create two accounts:

  • Business Account: This represents your store.
  • Personal Account: This represents your customer.

Step 2: Configure the Integration

Within your Shopify admin, you will need to enter the credentials for your Sandbox Business account. Note that you should only do this on a development store or during a scheduled maintenance window, as it will disable your ability to accept real payments while active.

Step 3: Run the Simulation

Use the Personal Sandbox account credentials to "pay" for an order on your site. This allows you to see how the checkout handles different scenarios, such as a user cancelling the payment or a transaction being declined due to insufficient funds.

Key Action Summary:

  • Use real transactions for a quick, "end-to-end" verification.
  • Use the Sandbox for technical debugging or testing developer features.
  • Always perform a refund test to ensure the two-way sync is active.

Troubleshooting "Setup Incomplete" Errors

Many Shopify merchants see a "Setup Incomplete" notification next to PayPal in their payment settings. This usually occurs because Shopify automatically creates a PayPal Express Checkout account using your store's primary email address the moment you open the store.

If this email address is not already linked to a PayPal Business account, the integration remains in a pending state. You must click "Complete Setup" and follow the prompts to either link an existing account or upgrade the current email to a business profile.

If a payment is marked as "Pending" in Shopify, it often means the payment was sent to an unverified email. Check the PayPal account associated with that email and ensure you have clicked the verification link in the signup email sent by PayPal. Once verified, the funds should clear within two business days, and the Shopify order status will update automatically.

Optimizing PayPal at Checkout with HidePay

Once you have verified that your PayPal integration is working perfectly, the next step is to optimize how and when it appears to your customers. Having too many payment options can cause "analysis paralysis," leading to cart abandonment.

We built HidePay to give you surgical control over your checkout. While PayPal is a high-conversion tool for many, it might not be the right choice for every order. Using our tool, you can create rules that refine the checkout experience based on specific conditions — learn how to set those rules in the How to create a payment customization guide.

Sorting for Conversion

In many European markets, such as Germany, PayPal is the dominant payment method. You can use the app to sort payment methods, ensuring PayPal appears at the very top for customers in those regions. This reduces friction for your most likely buyers. See the step-by-step on how to Sort and Rename payment methods in the Checkout.

Hiding Based on Customer Tags

If you run a B2B or wholesale operation alongside your retail store, you may want to hide PayPal for your wholesale customers. Wholesale orders often involve larger sums where PayPal’s percentage-based fees can significantly cut into your margins. By using a "Customer Tag" rule, the tool can automatically hide the PayPal option when a logged-in wholesale customer reaches the checkout. Follow the tutorial for Hide Payment Options by Customer TAG to implement this.

Blocking Express Buttons

PayPal Express buttons often appear at the top of the checkout or on the product page. While fast, they sometimes bypass important cart attributes or terms of service checkboxes. Our app allows you to block these express buttons based on specific rules—such as when a customer has a particular product in their cart that requires a custom note—ensuring they use the standard checkout flow instead. Learn how to Hide the PayPal Express Checkout Button in checkout.

The Role of Shopify Functions

The modern Shopify checkout is powered by Shopify Functions. This technology replaced the older Script Editor and allows apps to run natively within Shopify’s infrastructure. Because our tool is built on Native Shopify Functions, any rules you create to hide, sort, or rename PayPal will execute with zero latency.

For more background on why Functions matter and how they replace scripts, see our article Why Shopify Functions are the future and scripts are the past. This is a critical distinction for your store’s performance. There are no external scripts or workarounds that could slow down the checkout or break when Shopify updates its theme engine. The app works directly with the Shopify backend to ensure your payment rules are applied instantly and reliably.

Refining the Customer Experience

Beyond just hiding or showing the gateway, you can also rename the payment method for better clarity. For example, if you find that some customers are confused by the "PayPal Express" branding, you can use our tool to rename it to "PayPal & Credit Cards" to clarify that they don't necessarily need a PayPal account to pay.

Specificity always beats blanket settings. Instead of a checkout that looks identical for every visitor, you can tailor the options to the context of the purchase.

Post-Test Checklist

Before you consider your PayPal setup "done," run through this final checklist to ensure no detail has been overlooked:

  • Email Verification: Is the email in Shopify Settings > Payments identical to your PayPal Business login?
  • Mobile Test: Did you attempt a PayPal checkout on a mobile device? PayPal's mobile experience is a major driver of mobile conversions.
  • Order Notifications: Did both the customer and the merchant receive the correct confirmation emails after the test transaction?
  • Refund Sync: Does clicking "Refund" in Shopify correctly move the money back in the PayPal dashboard?
  • HidePay Rules: If you have rules active, have you tested the checkout from a "private" or "incognito" browser window to ensure the rules trigger correctly for different customer segments? If you need to verify which payment method name to target in a rule, see How to Retrieve the Correct Payment Method in HidePay.

Conclusion

Testing your PayPal integration is a non-negotiable step for any professional Shopify merchant. Whether you choose to perform a small-value real transaction or utilize the PayPal Sandbox, the goal is to ensure a frictionless path from the cart to the "Thank You" page. Once the foundation is secure, you can focus on protecting your margins and improving the user experience.

Key Takeaways:

  • Shopify's "Test Mode" does not simulate PayPal; you must test it independently.
  • A real $1.00 transaction followed by a refund is the most effective way to verify live accounts.
  • Use native tools to manage when PayPal appears, ensuring you provide the most relevant options to each customer.
  • Leverage Shopify Functions-based apps to maintain checkout speed and reliability.

Ready to take full control of your checkout? You can install HidePay from the Shopify App Store today to start sorting, renaming, and hiding payment methods based on your unique business needs.

FAQ

Does Shopify's "Enable Test Mode" work for PayPal payments?

No, Shopify Payments test mode only allows you to test credit card transactions through Shopify's own gateway. To test PayPal, you must either use the PayPal Sandbox environment or perform a real transaction with a different PayPal account and then refund the order.

Why is my PayPal test order showing as "Pending" in my Shopify admin?

A pending status usually indicates that the payment was sent to an unverified email address. Log into your PayPal account and ensure your email address is fully verified; once verified, the payment status should update in Shopify automatically within a short period.

Can I test PayPal payments while my Shopify store is on a trial plan?

No, Shopify requires you to be on a paid plan to process transactions, including test transactions. However, your trial period remains active even after you select a plan, so you won't be billed until the trial concludes.

How can I hide the PayPal button for specific products?

You can use an app like HidePay to create rules based on cart contents. By setting a condition for a specific product title or SKU, you can tell the checkout to hide PayPal as an option whenever that item is present in the customer's cart; see the HidePay article on Is it possibile to hide payment methods for certain products?.

Get Started with HidePay

Hide, sort, and optimize Shopify payment methods instantly—no code required.