Midtrans / Midtrans-Magento2

Official Midtrans Payment Module for Magento 2 | https://midtrans.com
MIT License
2 stars 7 forks source link

Payment captured but invoice not generated #32

Closed cowell-manhnt7190 closed 2 years ago

cowell-manhnt7190 commented 2 years ago

Preconditions and environment

Steps to reproduce

Expected result

Actual result

Hint maybe: When Input data is incorrect, order received Deny notification from midtrands, and order status change to Payment Review. After customer input correct data again, order received Capture notification from midtrands. However, the invoice is not generated because the order did not pass canInvoice function because the current status is Payment Review.

Xaxxis commented 2 years ago

Hi @cowell-manhnt7190 thank you for reaching out to us. This is an acknowledgeable bug/issue. Currently still on the development to fix and hopefully can release this week.

Anyway, for a temporary workaround. May you can change these line code

Thank you

cowell-manhnt7190 commented 2 years ago

Hi @Xaxxis Thank you for your information. Hope there will be an update soon.

Xaxxis commented 2 years ago

The fix is already on Pull request https://github.com/Midtrans/Midtrans-Magento2/pull/33 and is still in progress testing. We will let you know once release, thanks

Xaxxis commented 2 years ago

Hi @cowell-manhnt7190 the fix is already released on v2.7.0. Please kindly update Midtrans plugins using v2.7.0 If you have any general questions may you can reach out to us via Midtrans contact us page here

Thank you

cowell-manhnt7190 commented 2 years ago

Hi @Xaxxis Thank you so much for your support!