lib/AktiveMerchant/Billing/Gateways/Eway.php
public function capture($money, $authorization, $options = array())
    {
        $this->required_options("order_id", $options);

        $this->post = array(
            "AuthTrxnNumber" => $authorization,
            "TotalAmount" => $this->amount($money)
        );

        $cc = new CreditCard(array());
        $this->addCreditcard($cc);
        #$this->addInvoice($options);
        $this->addOptionalData();
        return $this->commit("xmlauthcomplete", $money);
    }
public function capture($money, $authorization, $options = array())
    {
        $this->required_options("order_id", $options);

        $this->post = array(
            "AuthTrxnNumber" => $authorization,
            "TotalAmount" => $this->amount($money)
        );

        $cc = new CreditCard(array());
        $this->addCreditcard($cc);
        #$this->addInvoice($options);
        $this->addOptionalData();
        return $this->commit("xmlauthcomplete", $money);
    }
public function capture ( $ money , $ authorization , $ options = array ( ) ) { $ this -> required_options ( "order_id" , $ options ) ; $ this -> post = array ( "AuthTrxnNumber" => $ authorization , "TotalAmount" => $ this -> amount ( $ money ) ) ; $ cc = new CreditCard ( array ( ) ) ; $ this -> addCreditcard ( $ cc ) ; #$this->addInvoice($options); $ this -> addOptionalData ( ) ; return $ this -> commit ( "xmlauthcomplete" , $ money ) ; }
Captures the given amount which was previously authorized

Doesn't use authorization here for consistency with authorize (uses order_id instead)

@param number     $money
@param string $authorization ignored
@param array      $options

@return Response
Captures the given amount which was previously authorized