app/code/community/Adyen/Payment/Model/Adyen/Abstract.php
public function capture(Varien_Object $payment, $amount)
    {
        parent::capture($payment, $amount);
        $payment->setStatus(self::STATUS_APPROVED)
            ->setTransactionId($this->getTransactionId())
            ->setIsTransactionClosed(0);
        $order = $payment->getOrder();
        $currency = $order->getOrderCurrencyCode();

        if ($payment->hasCurrentInvoice() && $currency != $order->getBaseCurrencyCode()) {
            $invoice = $payment->getCurrentInvoice();
            $amount = $invoice->getGrandTotal();
        }

        // do capture request to adyen
        $order = $payment->getOrder();
        $pspReference = Mage::getModel('adyen/event')->getOriginalPspReference($order->getIncrementId());
        $order->getPayment()->getMethodInstance()->sendCaptureRequest($payment, $amount, $pspReference);

        return $this;
    }
public function capture(Varien_Object $payment, $amount)
    {
        parent::capture($payment, $amount);
        $payment->setStatus(self::STATUS_APPROVED)
            ->setTransactionId($this->getTransactionId())
            ->setIsTransactionClosed(0);
        $order = $payment->getOrder();
        $currency = $order->getOrderCurrencyCode();

        if ($payment->hasCurrentInvoice() && $currency != $order->getBaseCurrencyCode()) {
            $invoice = $payment->getCurrentInvoice();
            $amount = $invoice->getGrandTotal();
        }

        // do capture request to adyen
        $order = $payment->getOrder();
        $pspReference = Mage::getModel('adyen/event')->getOriginalPspReference($order->getIncrementId());
        $order->getPayment()->getMethodInstance()->sendCaptureRequest($payment, $amount, $pspReference);

        return $this;
    }
public function capture ( Varien_Object $ payment , $ amount ) { parent :: capture ( $ payment , $ amount ) ; $ payment -> setStatus ( self :: STATUS_APPROVED ) -> setTransactionId ( $ this -> getTransactionId ( ) ) -> setIsTransactionClosed ( 0 ) ; $ order = $ payment -> getOrder ( ) ; $ currency = $ order -> getOrderCurrencyCode ( ) ; if ( $ payment -> hasCurrentInvoice ( ) && $ currency != $ order -> getBaseCurrencyCode ( ) ) { $ invoice = $ payment -> getCurrentInvoice ( ) ; $ amount = $ invoice -> getGrandTotal ( ) ; } // do capture request to adyen $ order = $ payment -> getOrder ( ) ; $ pspReference = Mage :: getModel ( 'adyen/event' ) -> getOriginalPspReference ( $ order -> getIncrementId ( ) ) ; $ order -> getPayment ( ) -> getMethodInstance ( ) -> sendCaptureRequest ( $ payment , $ amount , $ pspReference ) ; return $ this ; }
In backend it means Authorize && Capture
@param $payment
@param $amount
In backend it means Authorize && Capture