mollie / magento2

Mollie Payments for Magento 2
https://www.mollie.com
Other
98 stars 49 forks source link

[BUG] Status in Magento en Mollie niet in synch als een verwijderd product wordt gecrediteerd #742

Open gerben86 opened 4 months ago

gerben86 commented 4 months ago

Describe the bug

De status tussen Magento en Mollie Dashboard is niet in synch als je een verwijderd product gaat crediteren.

Used versions

To Reproduce Steps to reproduce the behavior:

  1. Maak een nieuw product aan
  2. laats een bestelling via Mollie/iDeal voor dat product
  3. Verstuur dat product, zodat de order de status 'Voltooid' heeft
  4. Verwijder het product van Magento
  5. Maak een creditfactuur aan met terugbetaling via Mollie

Expected behavior De order krijgt de status 'Gesloten' en de terugbetaling wordt verwerkt. OF De order houdt dezelfde status en de terugbetaling wordt niet verwerkt.

Actual behavior Er verschijnt een foutmelding in de backend: "Following products with requested skus were not found: SKU" De order krijgt niet de status 'Gesloten' De terugbetaling wordt wel verwerkt in Mollie

Daardoor is de status binnen Magento niet meer correct, want de status is dan nog 'Voltooid'

Logging [2024-02-07T06:37:10.890265+00:00] main.WARNING: Unable to fetch stock #1 data for SKU MySKU1234. Reason: Following products with requested skus were not found: T530_3 [] [] [2024-02-07T06:37:10.907640+00:00] main.WARNING: Unable to fetch stock #1 data for SKU MySKU1234. Reason: Following products with requested skus were not found: T530_3 [] []

Desired behavior If there's an error in Magento (in this case because the SKU isn't known), don't do a repayment via Mollie, because then the status between the 2 systems isn't in synch anymore.

Frank-Magmodules commented 4 months ago

Hello @gerben86, I appreciate you bringing up this issue. I've tried to reproduce the problems as you described, but haven't been successful. Could you please share the details of your environment with us? This will help us investigate further and work with you to find a solution. Thanks!

Frank-Magmodules commented 3 months ago

Hey @gerben86, Could you please follow up on my request here? 😊 Thanks a bunch!

gerben86 commented 3 months ago

Hi @Frank-Magmodules ,

Which details of the environment do you need?

Frank-Magmodules commented 3 months ago

Hello @gerben86, it appears I may have reproduced something that we can investigate. If we still require your environment details, I'll reach out to you immediately.