Testing Payments in Test Mode

First and foremost, you will need to ask Trust Payments’ support team @ to ensure that you currently have an account for testing purposes. Usually, the prefix “test_” within your account’s site reference name is added by them as a sign that it’s a test account.

Step 1 – Create a WooCommerce product.

If you are new to WooCommerce, I would suggest that you take a look at this guide first as this product would be the one that we will be trying to purchase in our test.

Step 2 – Setting up the product.

Edit your product page and scroll down until you see the Product data section. This section would contain the details of the product from its price to its inventory count etc. As we will be processing a test transaction, we can set a regular price for the product.

You can access this section from the:

Product data section > General tab.

Next is to make sure that the Inventory tab > Stock Status is set to In stock.

We don’t want to have taxes/shipping be applied once we checkout, so we need to tick the Virtual checkbox.

If you currently have a live WooCommerce store and don’t want your other customers to see this test product, you can set the product to be hidden. Go to the righthand side of your product page under the Publish section > look for the Category visibility option and click edit.

This would expand, and additional options would appear. Select the hidden radio button and click OK.

Update or publish your changes on your WooCommerce product for the changes to be applied.

Step 3 – Adding the item to the cart.

Open an incognito / private window to be accessing your site as a non-logged-in user (as a buyer).
Visit the product page that you have created on the step above and click the button ‘add to cart.’

Step 4 –  Checkout Process

View your cart by clicking the cart icon on your header and click Proceed to checkout. and once you are on the checkout page, fill in the required details, and on the credit card section, you’ll have to select the Trust Payments payment method

Click Place order, and you’ll be redirected to the Trust Payments payment page, where you can initially choose the credit card method.

We recommend testing Visa, Visa 3DS, and MasterCard for now. Once you have selected either of the three, it would ask you to fill in the test credit card details:

You can use the following test-card numbers to make sure that a transaction completes fully.

AMEX – 340000000003961
DINERS – 3005000000006246
DISCOVER – 6011000000000004
JCB – 3520000000000922
MASTERCARD – 5200000000000007
VISA – 4000000000000002

Expiry date (mm/yyyy): Any in date

Card verification code: 123
Go through the checkout process to order the product, and If the transaction is successful, it would redirect you back to your site and display an ‘order received’ message.

What if there is an error?

That’s a bit unfortunate, but all problems in this world can eventually be fixed. Please contact our support, and one of our friendly support team members will sort out these issues for you.

Was this helpful?

Trust Payments

Don't already have the plugin? Get access now.

Still need help?

Our team are on hand to provide fast, helpful and professional support.

Support request

Front End Demo

Test drive our plugin on the demo site.

View Demo

AG Bot (BETA) - Not live chat

Ask our bot about our products.

Welcome to our AG Bot, powered by OpenAI and trained on our documents and product pages. By continuing to use this service, please keep in mind:

Your continued use indicates acceptance of these terms. We hope you find our AI Chatbot useful!

Hello! I am AG Bot, how can I help you? (Not live chat)