/** * (non-PHPdoc) * @see Mage_Payment_Model_Method_Abstract::capture() */ public function capture(Varien_Object $payment, $amount) { parent::capture($payment, $amount); if ($this->isPreauthorizeCapture($payment)) { $this->_preauthorizeCapture($payment, $amount); } $payment->setSkipTransactionCreation(true); return $this; }
/** * (non-PHPdoc) * @see Mage_Payment_Model_Method_Abstract::capture() */ public function capture(Varien_Object $payment, $amount) { //TODO CHECK AMOUNT FOR SPLIT PAYMENT parent::capture($payment, $amount); if ($this->isPreauthorizeCapture($payment)) { $this->_preauthorizeCapture($payment, $amount); } $payment->setSkipTransactionCreation(true); return $this; }