Proceeding to test phase
Before the shop goes into production, it is necessary to carry out tests to ensure that the merchant website and the payment gateway are working properly.
The test payment requests must:
- contain the vads_ctx_mode field set to TEST
- use the test key for signature computation
Different cases of payments can be simulated by using test card numbers specified on the payment page. The Merchant will be able to test all 3D Secure authentication results (if the Merchant is enrolled and 3DS is not disabled).
The list of tests to be performed to generate the production key is provided in the Merchant Back Office, Settings > Shop > Keys menu.
Each row of the list contains card numbers associated with the same scenario (i.e. 2 accepted payments and 2 refused payments).
Each column corresponds to a different card type: CB/ VISA, MASTERCARD, MAESTRO, VISA ELECTRON.
To perform the test phase:
- Make an order on your merchant website as if you were one of your buyers.
- Once redirected to the payment page, select the card type of your choice.
- Refer to the list of tests to identify the card number to use.
- Once a test has been validated, its status is updated on the list. Click the Refresh the table button if the status has not been updated automatically.
- Once the 4 tests have been validated, the Generate production key button becomes available.
- Click the Generate production key button and accept the notification messages that will appear.
The production key is now available.