ebanx/magento-gateway-ebanx

Ebanx Cancelation does not actually cancel the Order

Opened this issue · 0 comments

Hello Ebanx,

For orders that use Boleto (or any async payment method), when the Ebanx callback tries to cancel the order it only changes the order status to canceled it does not actually cancel the order which would return the canceled items to stock.

Adding a call to the cancel method of an order during Ebanx_Gateway_PaymentController::updateOrder might fix the issue. Can anyone confirm if this is the correct approach?

Thank you,
Ricardo