-
Notifications
You must be signed in to change notification settings - Fork 44
Known Issues
- Order is created before successful payment
- PrestaShop 1.6 - Not able to send order confirmation email when “Order is Paid”
- One page checkout modules not working with Apple Pay
- Locale is invalid
- General refactoring from 3.5.5. to 4.0.X
The order creation before payment is the intended behavior. This is because:
-
It's prestashop default and suggested process for order creation
-
It prevents overselling - if there is 1 product left and 2 people buy it at the same time, it may result in lack of inventory
-
PrestaShop order reference is required to be sent to Mollie API
-
Capturing the order reference behavior payment allows merchants to capture missed conversions with second chance email functionality
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 are receiving the error that the locale is invalid when trying to make a payment with Mollie, make sure in the back office, that in the back office the restrictions are updated, for example if your shop is running Netherlands (Dutch) language make sure to go to International -> Localization -> Languages in there you will see the tab “Language code”.
Make sure that in there both of the languages codes exist, so if you have your language set as “nl” ir shouldn’t be just “nl”, but rather “nl-nl”.
This applies to all the languages, not only Netherlands (Dutch).
What was done when mollie module was refactored from 3.5.5 to 4.0.x:
-
Fixed double order status bug - Now Order is created before payment
-
Fixed Payment Accepted email bug
-
Fixed PHP bug where sometimes the total price is incorrect
-
New UI - Created new payment methods form in General settings
-
New Order payment Fee
-
Added payment Fee to PDF Invoice if param is added
-
Now fully compatible only from PrestaShop 1.6.1.x PHP 5.6
-
Refactored shipment settings from React to jQuery and PHP
-
Removed override validation
-
Fixed order status bug when order status is not changed to a specific status that is selected in Back-office
-
Fixed email receiving bugs
-
Prestashop 1.6 error fixes and small changes
-
Fixed bugs in One Page checkout and other Prestashop 1.6 bugs
For further questions or concerns please raise an issue or contact us via [email protected]