In this tutorial, we’re going to cover how to test a checkout page to ensure that your orders go through smoothly before setting it live for customers.
1. Initial Setup
The first thing we need to do is ensure that your payment processor is set to Test mode.
To do this, go to Checkouts > Settings > Payment Gateways
Under Set Payment Mode, select Test under the dropdown.
Next, we’re going to need a dummy credit card in order to make a test purchase of our product.
You will be able to find a list of dummy cards to use in the official Stripe Documentation by clicking on the URL below.
2. Making a Test Purchase
Open the checkout page with the product you would like to test using a separate Chrome Incognito browser and insert the dummy credit card details that we recorded earlier.
Click on the Payment or Buy Now button to confirm your test purchase.
If successful, you will be taken to the Order Confirmation Page.
3. Checking The Test Order
With the order successful, the last step is to check that your order details are sent to your email.
Go to your preferred email account and check to see if you’ve received an order confirmation email and invoice.
Please note: If your email invoices and settings are correctly set up but are not receiving any emails, then it’s likely a server-related issue and will need to contact your Web-Hosting provider for troubleshooting.
We also recommend that you ensure your WordPress admin email is the same as the email you set inside your OptimizeCheckouts Email Settings as your emails may end up in your customer’s spam box.
Once your test orders are successfully transacting, the final step is to go back into Checkouts > Settings > Payment Gateways and Set Payment Mode to Live.
You are now ready to begin collecting orders and making sales.