lib/AktiveMerchant/Billing/Gateways/Eway.php
public function authorize($money, CreditCard $creditcard, $options = array())
    {
        $this->required_options('address,order_id', $options);

        $this->post = array();

        $this->addInvoice($options);
        $this->addCreditcard($creditcard);
        $this->addAddress($options);
        $this->addCustomerData($options);
        $this->addOptionalData();

        $this->post['TotalAmount'] = $this->amount($money);

        return $this->commit('xmlauth', $money, $options);
    }
public function authorize($money, CreditCard $creditcard, $options = array())
    {
        $this->required_options('address,order_id', $options);

        $this->post = array();

        $this->addInvoice($options);
        $this->addCreditcard($creditcard);
        $this->addAddress($options);
        $this->addCustomerData($options);
        $this->addOptionalData();

        $this->post['TotalAmount'] = $this->amount($money);

        return $this->commit('xmlauth', $money, $options);
    }
public function authorize ( $ money , CreditCard $ creditcard , $ options = array ( ) ) { $ this -> required_options ( 'address,order_id' , $ options ) ; $ this -> post = array ( ) ; $ this -> addInvoice ( $ options ) ; $ this -> addCreditcard ( $ creditcard ) ; $ this -> addAddress ( $ options ) ; $ this -> addCustomerData ( $ options ) ; $ this -> addOptionalData ( ) ; $ this -> post [ 'TotalAmount' ] = $ this -> amount ( $ money ) ; return $ this -> commit ( 'xmlauth' , $ money , $ options ) ; }
Binds the given amount to customer creditcard

creditcard is not charged yet. a capture action required for charging the
creditcard.

@param number     $money
@param CreditCard $creditcard
@param array      $options

@return Response
Binds the given amount to customer creditcard