-
Notifications
You must be signed in to change notification settings - Fork 4
Known Issues
- Not able to send order confirmation email when “Order is Paid”
- One page checkout modules not working with Apple Pay
- PrestaShop segment doesn't work
- Module install fails on the 1st try
- Speed enhancement by preventing loading unnecessary JS and CSS
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 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.
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.
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.
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; }
For further questions or concerns please raise an issue or contact us via [email protected]