MultiSafepay / magento2

MultiSafepay plugin for Magento 2
Open Software License 3.0
18 stars 8 forks source link

In some weird cases there are multiple notifications received for the same captured payment #61

Closed erwinschaap closed 6 months ago

erwinschaap commented 11 months ago

Describe the bug In some cases (like a few times a year) an order gets multiple registration notifications for multisafepay transactions. For the first notification an invoice is created automatically, but when receiving the other notifications the order items qty looses the Invoiced Qty and the Item Status becomes Mixed. There is only one invoice created.

To Reproduce

Expected behavior Multisafepay always sends one notification for the same transaction ID and not change the order item qty's, those should stay after the first invoice / notification

Screenshots image

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context In the picture attached you can see the flow. There is a payment link registered and after that there are 3 notifications with the same transaction ID capturing the same amount every time again. The result is one invoice is created but the order items are not invoiced anymore and the item status becomes Mixed

dennisvanderweide commented 11 months ago

I have the same problem. Could you please fix this?

vinodsowdagar commented 10 months ago

Hi @erwinschaap and @dennisvanderweide ,

Thank you for the report.

We have been investigating this issue and we are not sure yet what is exactly causing this issue to happen. The Magento environment is not giving our callback a positive response even though the invoice was created correctly, which makes the system try multiple times.

We are currently looking into possible solutions to fix this. To continue progress on this and check the logs from our system side, we would like to receive the following information via e-mail:

The e-mail can be sent to integration@multisafepay.com, please refer to this Github issue so we can link them internally.

erwinschaap commented 10 months ago

@Vinod-MultiSafepay I have sent the e-mail (ticket id 145874)! The main issue is that the products are invoiced once but the order items are not invoiced (this is not correct Magento behaviour because the order can not reach the order status complete

vinodsowdagar commented 6 months ago

Hi @erwinschaap , @dennisvanderweide ,

I'm closing this issue due to inactivity. If there are still issues related with this, please inform us through e-mail or add a comment and we can consider reopening this.

vacla commented 1 week ago

@vinodsowdagar We had this same issue, just like @erwinschaap mentioned yesterday.

I did notice we were on only v3.1.2 just now

danielcivit commented 1 week ago

Hi @vacla

Thanks for your comments, please upgrade to the latest version, and let us know if this happens again.