Skip to content

Known Issues

Augustė Balčiūnaitė edited this page Feb 10, 2022 · 1 revision

Known issues


Not able to send order confirmation email when “Order is Paid”

This setting is available in the Mollie module for 1.7 under Advanced Settings. It is not available in 1.6 due to restrictions in 1.6.

The current workaround:

to disable order_conf email for PS 1.6 you need to change PS core. classes/PaymentModule.php. you should comment out line 271: Mail::Send(intval($order->id_lang), 'order_conf', 'Order confirmation', $data, $customer->email, $customer->firstname.' '.$customer->lastname, NULL, NULL, $fileAttachment)


One page checkout modules not working with Apple Pay

One page checkout modules usually do not work because one page checkout has its custom controller. We check for specific controllers where we add css and js. To make it work you would need to add a custom check for this module. You can do it by adding:

instanceOf check in hookActionFrontControllerSetMedia function at mollie.php class.

Depending on the checkout module that you are using this should allow you to enable one page checkout to work with apple pay.


PrestaShop segment doesn't work

If you've ran in to an error that looks something like this: "mollie Segment::track() requires userId or anonymousId".

Most likely Prestashop function did not found the shop domain.

We give an eshop domain for the segment tracker that looks like: $this->context->shop->domain. Segment also tracks who installed the module and who updated - basically the statistics of Mollie usage.

When this error appears, please raise an issue regarding this case in the "Issues" tab for our support team to investigate it, as this error could be a custom error for the shop.


Module install fails on the 1st try

If when installing the module and error comes up that says:

"Error message: The module upload requires an extra refresh. Please upload the Mollie module ZIP file once again. If you still get this error message after attempting another upload, please contact Mollie support with this screenshot and they will guide through the next steps: [email protected]"

Please try to re-upload it 1 more time, this is done because PHP 5.6 sees old files, new ones aren't being read, therefore a re-upload is needed to re-write some of the core files.


Speed enhancement by preventing loading unnecessary JS and CSS

This method cannot be used for stores, that use any variation of One page checkout, as it may disrupt it's performance. To speed up the performance and prevent loading unnecessary JS and CSS, you can add this code snippet to your Mollie.php file -> hookActionFrontControllerSetMedia function:

$isOrderController = $this->context->controller instanceof OrderControllerCore;

$isOPCController = $this->context->controller instanceof OrderOpcControllerCore;

if (!$isOPCController && !$isOrderController) { return; }