Placing a test order

By placing a test order, you can make sure that your checkout process and settings for order processing, inventory, shipping, email notifications, and taxes are all correct.

You aren't charged for a test order. You should place at least one test order during your store setup, or whenever you make changes to your payment settings.

You can place a test order by simulating a transaction through Shopify's Bogus Gateway, or if you're using Shopify Payments, then you can test your configuration by using Shopify Payments test mode.

You can also use a real payment provider, and then immediately cancel and refund the order. You might be subject to fees from the payment processor that you use.

Place a test order by simulating a transaction

To simulate a transaction on your online checkout, you can set up Shopify's Bogus Gateway. Bogus Gateway is a payment provider that any store can use to create test orders. While Bogus Gateway is set up, every order that you create is a test order.

To create an order, you need to enter test payment information at checkout. You can simulate different types of transactions, depending on what information you enter.

Steps:

  1. If you have a credit card payment provider enabled, then deactivate it before continuing. Click Manage > Deactivate (this button also shows the name of your payment provider, for example Deactivate Shopify Payments), then confirm your deactivation.

  2. Do one of the following:

    • If you have Shopify Payments enabled:
      • In the Shopify payments section, click Manage.
      • At the bottom of the page, click Switch to a third-party provider, and then click Switch to a third-party provider again to confirm.
    • If you don't have Shopify Payments enabled, then in the Shopify payments section, click See all other providers.
    • If Shopify Payments isn't available in your country, then in the Payment providers section, click Choose a provider.
  3. Select (for testing) Bogus Gateway from the list.

  4. Click Activate (for testing) Bogus Gateway.

  5. Click Save.

  6. Go to your online store and place an order as a customer would. At checkout, enter the following credit card details instead of genuine numbers:

Card details to enter when testing your checkout with the bogus gateway
Field name Details to enter
Name on card Enter Bogus Gateway
Credit card number

Enter each of these in turn to simulate different types of transaction:

  • Enter 1 to simulate a successful transaction
  • Enter 2 to simulate a failed transaction
  • Enter 3 to simulate an exception (this generates a message indicating that an error has occurred with the provider)
CVV Enter any 3-digit number (for example, 111.)
Expiry Date Enter any date in the future.
  1. After you're done testing, click Manage next to (for testing) Bogus Gateway in your Shopify admin.

  2. Click Deactivate (for testing) Bogus Gateway to remove this gateway from your checkout.

Place a test order with a real transaction

You can place a test order using a real payment provider, and then immediately cancel and refund the order. You might be subject to fees from the payment processor you use. Credit card transaction fees aren't returned to you when you issue a refund.

If you're using a development store, then you can't test using real transactions. For more information, refer to Testing orders in development stores.

Steps:

  1. Make sure that you've set up the payment provider that you want to test.

  2. Make a purchase from your store as a customer would, and complete checkout using genuine credit card details.

  3. If you're using a third-party payment provider, then log in to your payment provider and make sure that the funds were processed.

  4. Cancel and refund the order as soon as possible to refund yourself and avoid paying any transaction fees. If a new billing cycle starts after you've placed a test order but before you cancel it, then you're billed for transaction fees. You can still cancel the order after paying your bill. You receive a transaction credit on your account, which applies towards future transaction fees.

Testing your shipping settings

You can make sure that your shipping settings are correct by placing a test order. For example, if you offer free shipping for a certain order value, then you can test an order that would qualify for free shipping to make sure that the shipping discount is applied.

Learn more about shipping settings.

Testing email notifications

You can review your email notifications by placing a test order. To receive the email notifications, enter your email address at checkout. You can customize your email templates from your Shopify admin.

Ready to start selling with Shopify?

Try it free