-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicated discount rules #305
Comments
Hello @RVanDamage , Maybe you could install the latest version of Mollie? That is 4.2.3 and inform me if the issue still persists? You can find the latest version here - https://github.com/mollie/Prestashop/releases Looking forward to your reply! -- |
Hi @Saimis777, Thanks for the quick reply :) Before sending this ticket I already checked the changelog for v4.2.3 but didn't see anything regarding our problem. |
Thank you for your reply @RVanDamage , Also, would it be possible to receive the shop's BO/FTP credentials for further investigation?If yes, could you send them to support@invertus.eu? Looking forward to your reply! -- |
No problem @Saimis777 We've just provided the asked backoffice credentials to you in an email. |
Confirming that we've received them @RVanDamage ! Will keep you posted! -- |
Hello @RVanDamage , Does this happen with other payment methods if you use discount? Mollie doesn’t add any extra discounts and it just saves Mollie status with transaction id. We don’t think that this issue is caused by Mollie. We couldn’t reproduce it and have no idea how could this happen, please try reproduce this issue with other payment modules. Our guess is that another module or Prestashop bug is causing this. Looking forward to your reply! -- |
Hello @RVanDamage , Maybe you could clarify if you've managed to check my previous message? Have you managed to check if this happens with other payment methods, as we've checked, and could not reproduce these issues. Looking forward to your reply! -- |
Hi @Saimis777, We are still looking into this issue. The weird thing is that when we check the logs, the only module that got updated that day is the Mollie module. Maybe it's conflicting with some other module. I will keep you posted. |
@RVanDamage Thank you for that, Will be looking forward to your reply! -- |
Hello @RVanDamage , How is it going? Any further news? Let us know! -- |
Hello @RVanDamage , Regarding this case, are there any further news? Do you need assistance from our end? -- |
Hi @Saimis777, Excuse me for not replying, it's been very busy. I understand you might want to close this thread? Is there anyway for me to re-open it later? |
Hey @RVanDamage, No worries, we can keep it open for a while! I'll check in back later! -- |
Hi @Saimis777, So after some while of debugging, we finally figured it out! Here's the proof:
We have a detailed stack trace of how it gets executed. Don't know what the Mollie module exactly does there, but we are 100% sure it does it. We can provide you this stack trace (TXT file) by email (since it also contains some sensitive server info, we rather not share it here.) |
Hey @RVanDamage , Thank you for that! Maybe you could provide the TXT file via email as well please? Looking forward to your reply! -- |
Hi @Saimis777, Sure I can, I will reply it to the original mail from about a month ago :) |
Information received, thank you! Will keep you posted! -- |
Hi @Saimis777, Good to hear. I just upgraded you module from v4.2.2 to v4.2.3 on our DEV location. Looking forward to whatever you guys find :) |
Hey @RVanDamage , Just wanted to inform you that we are still working on the case, I am waiting for further feedback from the developers. -- |
Hi @Saimis777, Thanks for your reply. Sure thing! We actually already thought about making some patch to remove all duplicate cart rules from the DB. There's already thousands of affected orders like this for our customer. But we can only do this once the main issue is fixed in the Mollie module. So no rush, we're here looking forward to your fix :) |
Hey @RVanDamage , hope you're having a great day so far! I've received a clarification, that this will be fixed in 4.3.0 release. For now if you want to fix it please change: mollie/src/Service/MailService.php file line 303 to: You need to add the : 'products' => $order->getProducts() Let me know if it works! -- |
Hi @Saimis777, Very nice to hear :) Looking forward to the next release. |
Hello @RVanDamage , Did the fix work for you? Is everything okay? Should we keep the issue opened or it solved your issues? Looking forward to your reply! -- |
Hey! The 4.3.0 version was released, and your fix is included! I've included the pull request, you can download the new version here - https://github.com/mollie/PrestaShop/releases/tag/4.3.0 Any feedback provided is greatly appreciated! -- |
MOLIM-347: qr code validation fix for payment API
Expected behavior
No duplicated discount rules
Actual behavior
On March 3rd we installed Mollie module v4.2.2
Since that day we started receiving orders (placed using Mollie payment) with duplicated discount rules. Check screenshot.
Pretty much every order with discount rule set, has this issue.
Luckily it looks like a display error, because on invoiced when we calculate it manually it does not count the discount twice.
However when we check the database, the entries are really added on order level. Check screenshot.
Environment
The text was updated successfully, but these errors were encountered: