With our test environment you can simulate card and
Here's a set of basic scenarios we recommend you begin with. Use the test card numbers and enter the magic values as shown below.
|Payment method||Test card number(s)|
|Visa||4444333322221111, 4911830000000 and 4917610000000000|
|Visa Debit||4462030000000000 and 4917610000000000003|
|MasterCard||5555555555554444, 5454545454545454 and 2221000000000009|
|Authorisation - Success without 3D Secure||Worldpay will simulate an AUTHORISED response. In this scenario you should advise the shopper their transaction was processed successfully and proceed with any post processing activities.|
|Authorisation - Failure||Worldpay will simulate a REFUSED response. In this scenario you should advise the shopper their transaction was declined and advise them to check their payment details, try again or use an alternative means of payment to complete their purchase.|
|Authorisation - Error||Worldpay will simulate an ERROR response. In this scenario you should advise the shopper that an error occurred processing their transaction, no funds have been debited and they should try again.|
Note: Depending on your account setup with Worldpay and who you acquire with, you might receive extended decline codes in your responses. Click
Differences between test and production
In the test environment there are no connections to the financial institutions to process a transaction and as such there will be no transfer of funds. This means that it’s not possible to simulate settlement to your nominated bank account, or the billing and invoicing processes.
If you are using a Worldpay fraud detection service this will score your test transactions based on a number of different metrics. This could lead to your test transactions being blocked, which can generally be avoided by varying the transaction details such as card number and billing address. If your transactions still get blocked, check the payment details in the MAI and adjust your risk scores accordingly.
In the test environment a number of payment methods are made available by default, which might not be relevant to your setup in production. If you have any questions on the payment methods that you will have access to in production, contact your Implementation or Relationship Manager.
There are certain aspects of the transaction life cycle in the test environment which differ from production, in particular timing between events (so you can complete testing as quickly as possible).
Please consult your Implementation Manager or Corporate Support contact for assistance in testing reporting.
The test environment supports five Transactions Per Second (TPS), and must not be used for stress testing.
Simulators and magic values
We provide simulators and
Before moving into production you can use these simulators to test:
- 3D Secure – to simulate the 3D secure process and all possible outcomes for AMEX, JCB, Maestro, Mastercard and Visa
- Alternative payment methods – to simulate all payment outcomes of any alternative payment methods you're integrating
Depending on the configuration of the Worldpay fraud detection services, certain AVS, AAV and CVC responses might result in a post-authorisation decline (CANCELLED as opposed to REFUSED).
Checking your results
To see your test results you can use the payment responses,