The Debug bar in the embedded payment field, which also contains test card numbers, may sometimes not appear at the time of a test payment.
It is also possible that the payment does not work with the embedded payment fields, displaying an error message of the following type: A technical error occurred.
If you use Prestashop 1.6, check the following configuration:
- Sign into your PrestaShop Back Office.
- Go to Advanced parameters > Performance.
- Go to CCC (Combine, Compress and Cache).
- Make sure that Move JavaScript to the end is set to NO.
IMPORTANT: Embedded payment fields are not compatible with the functionality Move JavaScript to the end set to YES.
If Move JavaScript to the end is set to YES, you must either:
- Change configuration to NO.
- Change the Card data entry mode parameter with one of the following settings:
- Bank data acquisition on the payment gateway
- Card type selection on the merchant website
- Payment page integrated into the checkout flow (iframe mode)
In order to change the Card data entry mode:
- Sign into your PrestaShop Back Office.
- Go to Modules and services > Modules and Services.
- Search for the Scellius module.
- Click the Configure button.
- Open the Standard payment section.
- In the Advanced options section, change the parameter Card data entry mode.