How to test payments in test mode?

As you have followed the steps in our setup guide to configure your First Data Connect plugin; the next step is making sure that test transactions work. Please keep in mind that you are required to process a few test transactions first so that First Data Connect can see that you can process transactions to allow you to process live ones.

Here’s how you can do it:

Step 1 Make sure that you are in test mode

From your WooCommerce > Settings > Payments > AG First Data > Manage > set the store status to ‘Test environment’

Step 2 – 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 we will be trying to purchase in our test.

Step 3 – 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 4 – 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 5 –  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, click the “Place order| button, and you’ll be redirected to FirstData Connect servers to place your payment method.

Enter the test credit card details:
Card No.: 5426064000424979
Expiry Date: Any date in future
Card Security Code: any three-digit value
Card No.: 4035874000424977
Expiry Date: Any date in future
Card Security Code: any three-digit value

If it does not work anymore, you could contact the First Data Connect team here- or at their contact page here, and they’ll be able to supply you with the working ones.

Click the “Continue” button, and the next page will ask you for the 3d secure password.
Use “Secret!33 ” as the password and click the “Submit” button.

After that, First Data Connect puts the transaction through the card check schemes and sends it to the card issuer for fraud checks(i.e., 3D Secure).
Once the payment is approved, it would display the order confirmation message. Clicking the “Return to Shop message” should redirect you back to the site and display the 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 do take a look at our Troubleshooting guide and hopefully, this would resolve the issue for you or better yet, you could also contact our support and one of our friendly support team members will sort out these issues for you.

Was this helpful?

First Data Connect

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