public function authorize(\Magento\Payment\Model\InfoInterface $payment, $amount) { parent::authorize($payment, $amount); $payment->setIsTransactionClosed(false); $this->_debugger->debug('authorize'); return $this; }