How to Easily Setup WooCommerce Test Mode

WooCommerce check mode.

You’ve arrange your retailer with WooCommerce and expect your first order. But because it’s a brand new retailer, you haven’t had real-life proof that it’s arrange accurately to deal with clients’ orders.

You can simply simulate this by searching your retailer catalog to add merchandise to your cart. However, the tough half is testing the checkout and fee processing with out dropping cash. Using an precise fee requires you to pay for every transaction your fee service provider processes, which incurs charges.

The excellent news is that you simply don’t have to use actual funds. Most fee processors supply a check mode the place you should use dummy particulars to affirm that your funds are energetic.

In this information, we are going to present you how to arrange check mode, and run checks in your WooCommerce checkout.

Content:

How do I Run WooCommerce in Test Mode?

To run WooCommerce in check mode, you first want to set your web site to upkeep mode or use a staging website in case your web site is already reside. This is to stop the lack of income and a foul consumer expertise whereas your retailer is being examined.

You can allow upkeep mode by utilizing the “WP Maintenance Mode and Coming Soon” plugin. From your WP Admin dashboard, go to Plugins >> Add New. Here, seek for “WP Maintenance Mode and Coming Soon”.

Add new plugin's page

You can set up and activate it by clicking on the “Install” and “Activate” buttons sequentially. Once you activate it, go to Settings >> WP Maintenance Mode.

Settings >> WP Maintenance Mode” width=”632″ top=”322″ src=”https://www.fixrunner.com/wp-content/uploads/2022/08/image17-2.png”/></p><p>This takes you to the dashboard, the place you may customise your web site upkeep mode residence web page. Once completed, examine the “Activated” radio button to activate upkeep mode on your web site.</p><div class='code-block code-block-3' style='margin: 8px 0; clear: both;'> <script async src=

Activate maintenance mode

If your website already receives visitors from search engines like google and yahoo, you might want to allow the “Bypass for Search Bots” possibility. When enabled, search engines like google and yahoo will nonetheless have entry to crawl your web site. After making your adjustments, scroll down and click on on Save Settings to impact your adjustments.

Save settings

When a customer goes to your web site, they are going to be denied entry as displayed under.

Maintenance mode for woocommerce test mode

Now you may proceed to check WooCommerce funds in your retailer.

Set Up Test Using PayPal Sandbox

If you employ PayPal to course of funds, you may shortly run a dummy checkout course of that debits cash out of your card. But as a substitute of an energetic credit score or debit card, it will likely be dummy card info. You can do that by utilizing PayPal sandbox mode.

Connect a PayPal Developer Account for Sandbox Testing

To allow PayPal Sandbox, you want a PayPal developer account. Go to the PayPal developer page to log in or create a brand new account.

From the upper-right a part of the web page, choose the Log into Dashboard button to log in or create your account.

Paypal developer dashboard - Woocommerce test mode

If you might be creating a brand new developer account, it is best to choose your nation, and enter your electronic mail handle and password. Then hit the Create Account button.

Create a new developer account

Once you join a developer account, log in to the PayPal developer dashboard utilizing your newly-created credentials. Then scroll to the “SANDBOX” part after which choose Accounts.

Select Accounts in SANDBOX section

This shows a view of PayPal Sandbox accounts. By default, there are two accounts – a enterprise account and a private account. The default accounts don’t comprise API Credentials that you may hyperlink to WooCommerce, so that you want to create a brand new account by deciding on the Create account button.

Create account

Select Account

Now, you could have the choice to create a Business account and a Personal account. You ought to choose the Business account possibility. Select your nation and click on the Create button.

Select preferred account - WooCommerce test mode

Next, scroll down to the listing of accounts and click on on the three dot icon “…” subsequent to the brand new electronic mail handle. On the dropdown menu choose View/edit account.

View/edit account

It will popup a menu containing your account info. To entry the API KEYS, navigate to the API Credentials tab. These are what you want to join your WooCommerce Store.

Access API KEYS in API credentials tab

Now, head again to your WooCommerce retailer and navigate to the settings web page by way of WooCommerce >> Settings. From there, click on on the Payments tab.

Click on Payments tab - WooCommerce test mode

After that, click on on Manage subsequent to the “PayPal Standard” possibility.

Click Manage next to PayPal standard

Next, enter your PayPal particulars, and examine the field for PayPal Sandbox to allow it.

Enable PayPal Sandbox for WooCommerce test mode

After that, scroll down to the enter fields for API Credentials.

Input fields for API credentials

Return to your PayPal developer dashboard to copy and paste your API credentials into the shape discipline. Once completed, click on the Save Changes button.

Save changes

This permits check mode by authenticating your WooCommerce retailer along with your PayPal developer account.

Side observe: If you may’t discover the PayPal possibility, you want to install the PayPal Payments extension in your WooCommerce retailer. After putting in the extension, you should have the choice to configure PayPal fee in your retailer.

WooCommerce PayPal Payments extension

Test WooCommerce Checkout Process

To full WooCommerce testing, you have to a PayPal check account. For this, return again to your developer dashboard and go to SANDBOX >> Accounts to create a brand new private Sandbox account as we described within the previous part.

Open the View/edit tab to view your newly created account info.

WooCommerce test mode

After that, scroll down to view the whole info. To see your bank card particulars, and your account steadiness, navigate to the Funding tab. You will want this info for testing.

See credit card details in Funding tab

Now head again to your retailer and proceed to the checkout web page, choose “PayPal” as a fee possibility. You can see within the notification that you’re in Sandbox mode, and you have to your Sandbox account to full the fee.

WooCommerce test mode

Hit the PROCEED TO PAYPAL button to full checkout. Use your Sandbox account username and password to log in.

Log in with Sandbox account details

On the subsequent display, you may choose a card to check bank card fee. You may also use the PayPal steadiness to check the checkout course of. As you may see, there are saved playing cards, and you’ll add a brand new card by utilizing the “Add a credit score or debit card” possibility.

Add a new card - WooCommerce test mode

Either approach, you gained’t want to make an actual fee while you hit the Pay Now button.

WooCommerce test mode

If you can’t place the order, it means there was an error with WooCommerce Setup. You could try our information on fixing WooCommerce Cart not working.

When you might be completed, it is best to disconnect from PayPal Sandbox by navigating to WooCommerce >> Settings >> Payments and deciding on Manage subsequent to PayPal Standard. Here, uncheck the field for PayPal Sandbox.

Uncheck the Enable PayPal sandbox

Save your settings, and you can begin accepting reside funds in your web site. For a extra detailed information, you may examine our WooCommerce PayPal Integration article.

Setup Stripe Test

Stripe is among the most generally used fee gateways. It integrates seamlessly with WooCommerce. If you propose on utilizing Stripe to settle for fee in your retailer, then you definately want to check the gateway as nicely. Here is how to run WooCoommerce check mode with stripe.

First, you want to set up the WooCommerce Stripe plugin to your web site. After putting in the plugin, stripe fee shall be added to your retailer. However, you want to configure the plugin earlier than it’ll work.

WooCommerce Stripe plugin for test mode

To check this fee gateway, go to WooCommerce >> Settings out of your admin dashboard.

WooCommerce settings

After that, click on on the Payments tab and scroll to the Stripe possibility.

Click the Payments tab to setup test mode for woocommerce

You want to allow the Stripe possibility. When enabled, you may be redirected to the Stripe setup web page.

Configuring WooCommerce Stripe Plugin

If you don’t have a Stripe account, you may click on on the Create or join an account button. However, if you’re an current consumer, choose the Enter account keys possibility.

set woocommerce stripe test mode

Here, change to the Test tab. You want to enter the API keys out of your Stripe account to arrange check mode in your WooCommerce retailer. To get the keys, click on on the Stripe account settings hyperlink.

Click on Stripe account settings

On the “Stripe settings” web page, click on on Add Endpoint. You can get the endpoint URL from the stripe setup web page in your WooCommerce retailer. It ought to look comparable to the hyperlink under.

https://mysite.com/?wc-api=wc_stripe

Click on Add Endpoint - WooCommerce test mode

On the “Add Endpoint” web page, enter the URL you copied out of your on-line retailer. After that, add the next webhook occasions.

  • supply.chargeable
  • supply.canceled
  • cost.succeeded
  • cost.failed
  • cost.captured
  • cost.dispute.created
  • cost.refunded
  • evaluation.opened
  • evaluation.closed
  • payment_intent.succeeded
  • payment_intent.payment_failed
  • payment_intent.amount_capturable_updated

Enter URL copied from your online store

When you might be completed including the main points, scroll down and click on on the Add endpoint button.

Click on the Add Endpoint button

To get the Webhook secret key, click on on Webhooks and replica the signing key worth.

Click on Webhook to run woocommerce in test mode

Now head again to your WordPress dashboard and paste the important thing into the “check webhook secret” field.

Woocommerce stripe test mode

After that, return to your stripe account and click on on the API keys menu. Here copy the “publishable key” and “secret key” values and paste them into their respective packing containers on the Stripe configuration web page.

WooCommerce test mode

When you might be completed including the values, click on on the Save check keys button to save your adjustments. You shall be redirected to the Stripe settings web page.

woocommerce stripe test mode api keys

To use a check bank card, click on on check card numbers.

Click on test card numbers

You will see an inventory of card particulars you should use to check Stripe checkout in your web site.

Testing WooCommerce Stripe Integration

To check the fee, go to your web site and checkout utilizing the check card particulars you copied from Stripe.

Test payment - woocommerce test mode

If the fee is profitable, it means stripe is working correctly in your WooCommerce retailer.

Successful woocommerce stripe test mode order

Now you may disable check mode in your WooCommerce web site by switching to reside mode. For this, head again to the WooCommerce funds web page and click on on Manage subsequent to the Stripe possibility.

Click Mange next to Stripe option

After that, untick the “Enable check mode” possibility. Then click on on Edit account keys to change from check mode to reside mode.

Click on Edit account keys - woocommerce test mode

You can get the reside keys out of your stripe account. We have an in depth information on how to combine stripe in WooCommerce.

Using a WooCommerce Order Test Plugin

If you might be utilizing one other fee processor, you may simply allow WooCommerce checks by utilizing a WooCommerce Test Plugin.

To get began, log in to your WooCommerce dashboard after which go to Plugins >> Add New. On the Search field, sort in “WooCommerce Order Test”. After that, click on on the Install Now button subsequent to the plugin identify.

WooCommerce Order Test plugin

After putting in and activating the plugin, go to WooCommerce >> Settings. Then navigate to the Payments tab. Here scroll down and allow the “Test Mode” gateway by flipping on the change and deciding on Save adjustments.

Enable Test mode gateway for woocommerce

This ought to be seen in your checkout web page. To use this fee possibility, go to your on-line retailer and add new merchandise/companies to your cart. Then fill in your billing particulars and proceed to checkout to use the “WC Order Test” plugin to checkout in WooCommerce Test Mode.

Use the WC Order Test to checkout

If you could have arrange your WooCommerce accurately, you ought to be in a position to place a check order efficiently.

Successful woocommerce test mode order

Don’t neglect to disable upkeep mode after the check. You can do that by returning to Settings >> WP upkeep mode. Then choose the “Deactivated” Option.

Deactivate Maintenance mode

Hit the Save settings possibility to impact your change.

Save settings - Woocommerce test mode

 

When Do You Need to Perform a WooCommerce Test?

It is essential to guarantee your WooCommerce checkout course of is working effectively to preserve a functioning on-line retailer. You will want to be certain that WooCommerce is about up correctly when creating a brand new on-line retailer and after a number of months of utilization.

It is particularly vital if you happen to discover a rise in Cart abandonment. When clients encounter issue throughout checkout, they’re extra doubtless to abandon their carts.

We advise that you simply frequently carry out a WooCommerce order check mode to hold your retailer working easily. You ought to do that at the very least as soon as a month. This approach, you may discover any error as shortly as attainable.

You must also run WooCommerce checks everytime you replace a plugin in your web site. Plugin updates may cause compatibility points with WooCommerce which may have an effect on your web site checkout stream.

Conclusion

Regular WooCommerce Test is critical to guarantee you could have a functioning web site, and that your clients usually are not stranded when making a purchase order.

In this information, we’ve proven you the way to allow WooCommerce check mode by utilizing the PayPal Sandbox for PayPal customers. We have additionally proven you the way to allow WooCommerce fee check mode utilizing a WooCommerce fee plugin. This additionally works if you happen to use one other fee gateway, akin to Stripe.

When managing your WooCommerce retailer, you might run into errors. To assist with that, we’ve a whole information on frequent WooCommerce errors and the way to resolve them.

Read More Useful Articles: