MultiSafepay / Magento2Msp

MultiSafepay plugin for Magento 2 (Deprecated) see: https://github.com/MultiSafepay/magento2
Open Software License 3.0
29 stars 25 forks source link

Paying with afterpay results in 2 invoices in Magento #123

Closed dverkade closed 3 years ago

dverkade commented 4 years ago

Magento version: 2.3.5 MSP module version: 2.11.0

When an order is paid with afterpay 2 invoices are created. See screenshots below. The second invoice will have a total of 0.00 because there's nothing left to invoice.

image

image

image

vinodsowdagar commented 4 years ago

Hi @dverkade ,

I am currently looking into this. We will keep you updated as soon as we know more about what is causing this issue.

vinodsowdagar commented 4 years ago

Hi @dverkade ,

We were unable to reproduce this issue on a core Magento 2.3.5 environment, with the MultiSafepay plugin version 1.11.0.

We may be using settings other than yours, which has prevented us from reproducing the exact same situation.

That is why i would ask you for the following:

You have also contacted us by e-mail via integration@multisafepay.com. I have sent you a reply on there as well.

paulvandermeijs commented 4 years ago

Hello @Vinod-MultiSafepay, We are experiencing the same issue. I have been trying to reproduce this in the test environment but have so far been unsuccessful (tried clicking the complete button twice and reloading the success page).

The issue doesn't seem to be restricted to Afterpay as for us it happened with iDEAL.

We've seen this problem occur with grouped products though we've also seen orders with grouped products where there weren't any problems. Also when multiple invoices are created both reference the same order and order item.

For orders where we are seeing this issue we're also seeing two status notifications in the order's comments:

image

In our case though both invoices include the full amount.

image

We are using Magento 2.3.4-p2 and MSP module 1.10.0.

vinodsowdagar commented 4 years ago

Hi @paulvandermeijs ,

We already resolved this issue for @dverkade via an e-mail ticket.

It seemed that @dverkade had this issue because he had installed another module that also added another Afterpay gateway. This module conflicted with our module and creates an invoice beforehand for our Afterpay gateway as well. I think this issue was fixed by turning off the other Afterpay module.

Edit: If that is not the case for you, then maybe you can try to update to the latest version of the plugin: https://github.com/MultiSafepay/Magento2Msp/releases/tag/1.12.2

We fixed double invoices in that version as well.

paulvandermeijs commented 4 years ago

Hello @Vinod-MultiSafepay, We're not using any other PSP besides MultiSafepay but I'll update the module to see if it fixes the issue.

vinodsowdagar commented 4 years ago

Hi @paulvandermeijs ,

Are you still experiencing this issue?

magent-harsh commented 4 years ago

Hi We have facing those two error 1 - getting duplicate order with same products 2 - out of stock products are place order with afterpay

Jasper-MultiSafepay commented 4 years ago

@magent-harsh Can you send an email to integration@multisafepay.com We would like to check with you what's happening and if it is not a conflict with another module.