New answers tagged

0

Try this one public function afterExecute( \Magento\Sales\Model\Order\Payment\State\CaptureCommand $subject, $result) { //your code is here return $result; } There, the $result parameter is the returned value of the Execute function.


Top 50 recent answers are included