How to resolve my issue with embedded fields in Prestashop 1.6?
It may happen that the Debug bar of the embedded payment field, which also contains the test card numbers, does not appear during a test payment.
It is also possible that the payment does not work with the embedded payment fields and displays an error message such as: 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 NON.
- Change the Card data entry mode parameter using one of the following values:
- Bank data acquisition on the payment gateway
- Card type selection on the merchant website
- Payment page integrated into the checkout flow (iframe mode)
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.
- Expand the Standard payment section.
- In the Advanced options section, change the Card data entry mode parameter.