/** * Is capture request needed on this transaction * * @return true */ protected function _isCaptureNeeded() { $this->_api->callGetTransactionDetails(); if ($this->_api->isPaymentComplete()) { Mage::getModel('paypal/info')->importToPayment($api, $payment); return false; } return true; }