You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Magento's API endpoint /V1/order/{orderId}/invoice on an order with Heartland as the payment method the <preference for="Magento\Sales\Model\Order\Payment".../> is not active because it is set in the adminhtml scope. Because this preference is not active the capture action does not happen as the canCapture function always returns false.
Suggested fix is to move the <preference> to the global di.xml file. I will submit a corresponding PR.
The text was updated successfully, but these errors were encountered:
When using Magento's API endpoint
/V1/order/{orderId}/invoice
on an order with Heartland as the payment method the<preference for="Magento\Sales\Model\Order\Payment".../>
is not active because it is set in theadminhtml
scope. Because this preference is not active the capture action does not happen as thecanCapture
function always returnsfalse
.Suggested fix is to move the
<preference>
to the globaldi.xml
file. I will submit a corresponding PR.The text was updated successfully, but these errors were encountered: