Skip to content

Commit ba6f445

Browse files
authored
Fix offline invoice capture (404)
1 parent 5a2037c commit ba6f445

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Sales/Controller/Adminhtml/Order/Invoice

1 file changed

+2
-2
lines changed

app/code/Magento/Sales/Controller/Adminhtml/Order/Invoice/Capture.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
*/
77
namespace Magento\Sales\Controller\Adminhtml\Order\Invoice;
88

9-
use Magento\Framework\App\Action\HttpPostActionInterface;
9+
use Magento\Framework\App\Action\HttpGetActionInterface;
1010
use Magento\Sales\Controller\Adminhtml\Invoice\AbstractInvoice\View;
1111

12-
class Capture extends View implements HttpPostActionInterface
12+
class Capture extends View implements HttpGetActionInterface
1313
{
1414
/**
1515
* Authorization level of a basic admin session

0 commit comments

Comments
 (0)