PrestaShop: Troubleshooting
Learn troubleshooting techniques you can use before contacting support.
Troubleshoot common issues
Follow the steps in Troubleshoot common issuesarticle to ensure proper connection between Mollie and your PrestaShop instance and then the steps below for PrestaShop-specific settings.
Troubleshooting checklist
Enable debugging and get the log files
PrestaShop keeps a log of all Mollie-related activity that takes place. You can use the log to investigate the root cause of a problem.
- Log in to PrestaShop.
- In the left navigation menu, select Mollie > Settings.
- Select the Advanced settings tab.
- Scroll down to Debug level.
- Switch on the Display errors toggle.
- Select Save.
Get the log files
To get the PrestaShop log file(s), follow these steps:
- Log in to PrestaShop.
- Go to Advanced parameters > Logs.
Diagnose issues
Check the release notes
Refer to Mollie for PrestaShop releases to check whether the issue was fixed in a newer version of Mollie for PrestaShop.
ImportantBefore updating Mollie for PrestaShop, review Mollie for PrestaShop releases to ensure compatibility with your version of PrestaShop or third-party modules.
Solve common problems
Below you can find a list of the most common issues you might run into and how to resolve them. Remember to always check the PrestaShop's own logs alongside this troubleshooting sheet.
Unable to install Mollie statuses | This error happens when payment statuses can't be created. | Check if Mollie order states that it already exist in shop. If it does, delete it from the PrestaShop's back office in your order settings, then try to reinstall the module. |
Unable to install voucher attributes | This error happens when voucher features can't be installed. | Check if this specific feature system works in PrestaShop. You can find more information on vouchers here. |
Unable to register hooks | Sometimes it might happen that the hooks are not registered. | Check if the hooks are created & added in PrestaShop and that the module has all the correct permissions on the server side. |
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry X | When store is just created or your PrestaShop version is 8.x | Restart the module if you get this error and check if it works after you log in again. |
PHP Fatal error: Allowed memory size of X bytes exhausted | The PHP memory limit is too low for the installation process to complete | Increase the PHP memory limit in php.ini: memory_limit = 256M (or set it to a higher value). |
Maximum execution time of X seconds exceeded | The PHP script execution time limit is too low | Increase max_execution_time in php.ini: max_execution_time = 300 . |
500 Internal Server Error | PHP fatal error during installation | Check var/logs/prod.log for a more detailed view or enable debug mode to see the actual error. |
The module is stuck in an infinite install loop. | Might happen during installing or upgrading a module | Check var/logs/prod.log or PrestaShop logs for a detailed view of the errors. Also open the dev console in your browser (F12) -> then switch to the Network tab to see any potential errors. |
Enabling Apple Pay in a one-page checkout
If you use a custom one-page checkout module together with Mollie for PrestaShop, Apple Pay might not work on the checkout page.
To work around this problem, follow these steps:
- In your PrestaShop instance, go to
PrestaShop/modules/Mollie/mollie.php
. - In the
mollie.php
file, add a custominstanceOf
check for your module to thehookActionFrontControllerSetMedia
function.
Reactivating the module
In some cases, it helps to deactivate and reactivate the module. This resets the module without losing your configuration settings.
- Log in to PrestaShop.
- Select Modules > Module Manager in the left navigation menu.
- Use the search bar or scroll down to Payment to locate PrestaShop.
- Select the arrow next to Configure.
- Select Reset from the drop-down menu.
Reinstalling the module
In some cases, the best option is to uninstall and reinstall the module.
- Log in to PrestaShop.
- Select Modules > Module Manager in the left navigation menu.
- Use the search bar or scroll down to Payment to locate PrestaShop.
- Select the arrow next to Configure.
- Select UninstalS from the drop-down menu.
- Install the module.
Clear the cache
Mollie for PrestaShop stores data exchanged between Mollie and PrestaShop in a cache. Problems related to information loading can occur when the cache gets too full.
- Log in to PrestaShop.
- In the left navigation menu, select Advanced parameters > Performance.
- Select Clear cache.
Updated about 21 hours ago