You have created a new gateway payment method. You configured the command pool in a di. xml file and added the MyCompany\MyModule\Gateway\Command\Sale command with the name sale to it. Your Sale command extends the Magento\Payment\Gateway\Command\GatewayCommand class.
You have also created a payment_action option in the system configuration and set the value to authorize_capture.
You found the sale command is never called when placing an order.
Which action will fix the problem?
Currently there are no comments in this discussion, be the first to comment!