Proceeding to test phase
Before the shop goes into production, it is necessary to carry out tests to make sure that the merchant website and the payment gateway function properly.
Test payment requests must be made with:
- Test password
- Public test key
- HMAC-SHA-256 test key
Several payment cases can be simulated using the test card numbers provided in the debug bar, Test cards tab. The merchant will be able to test the different 3D Secure authentication results (if the Merchant is 3DS-enrolled and the 3DS option is not disabled).
The list of tests to be performed for generating the production key is provided in the
Each line of the list groups together the 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:
Place an order on your merchant website as if you were one of your buyers.
Once the form is displayed, click the Test cards tab of the debug bar and select the type of card you want to use.
Refer to the test list to identify the number of the card to be used.
When a test is validated, its status on the list is updated. Use the Refresh the table button if the status has not refreshed automatically.
Once the 4 tests have been validated, the Generate the password and the HMAC-SHA-256 production key button becomes available.
Click Generate the password and the HMAC-SHA-256 production key and accept the various warning messages.
The HMAC-SHA-256 key and production password are now available.
Shift the shop to PRODUCTION mode
- Change your implementation to use:
- The production password.
- The public production key.
- The HMAC-SHA-256 production key for calculating the signature contained in the kr-hash field.
- Enter the notification URL correctly at the end of the payment in PRODUCTION mode via the Settings > Notification rules menu.
Making the first production payment
We recommend you to check the two following aspects:
- Proper functioning in an end-to-end production environment.
To do so, make a real transaction of at least €2.
This transaction can be cancelled later from the
However, it is recommended to let the transaction be captured in order to confirm that the merchant's account has been credited. It will then be possible to make a refund.
- The proper operation of the IPN (Instant Payment Notification at the End of Payment) specified in the
Expert Back Office.
Display the transaction details in the