Closed basvanpoppel closed 3 years ago
Hi @basvanpoppel ,
Thank you for your contribution. We will internally test this and add it to the next release.
Hi @basvanpoppel ,
We just created a new release where we included this fix: https://github.com/MultiSafepay/magento2-core/releases/tag/2.6.0
Since the fix has already been merged and released, we will close this PR. As a thank you for your contribution we want to send you our newly designed t-shirt. Can you tell us via e-mail to which address we can send your gift and what your shirt size is? You can send the e-mail to integration@multisafepay.com and my colleagues will pick it up.
Issue
Customers are receiving order confirmation emails when a transaction is expired:
Conditions:
Cause:
When Multisafepay send a notification to Magento, the function "processOrderTransaction" is called. This tries to send an order confirmation straight away, but does not check the transaction status.
Fix:
Check transaction status before sending the order confirmation.
ps. due to lack of time I have not (yet) written tests along with this PR. However I do hope this PR is of use for you.