-
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
- PrestaShop segment doesn't work
- 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” rather “nl-nl” If you are running in to the error most likely this section will look something like this:
Press on it and change it to this (applies to all languages, be aware that the code will be different):
Save it, and the issue should resolve. This applies to all the languages, not only Netherlands (Dutch).
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 inthe "issues" tab for our support team to investigate it, as this error could be a custom error for the shop.
What was done when mollie module was refactored from 3.5.5 to 4.0.x:
-
Fixed double order status bug
-
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
-
Now Order is created before payment
For further questions or concerns please raise an issue or contact us via [email protected]