application/models/bestitamazonpay4oxidclient.php
public function capture($oOrder = null, $aRequestParameters = array())
    {
        $oData = $this->_callOrderRequest(
            'capture',
            $oOrder,
            $aRequestParameters,
            array(
                'amazon_authorization_id',
                'capture_amount',
                'currency_code',
                'capture_reference_id',
                'seller_capture_note'
            ),
            $blProcessable
        );

        //Update Order info
        if ($blProcessable === true && isset($oData->CaptureResult->CaptureDetails)) {
            $this->setCaptureState($oOrder, $oData->CaptureResult->CaptureDetails);
            $this->closeOrderReference($oOrder, array(), false);
        }

        return $oData;
    }
public function capture($oOrder = null, $aRequestParameters = array())
    {
        $oData = $this->_callOrderRequest(
            'capture',
            $oOrder,
            $aRequestParameters,
            array(
                'amazon_authorization_id',
                'capture_amount',
                'currency_code',
                'capture_reference_id',
                'seller_capture_note'
            ),
            $blProcessable
        );

        //Update Order info
        if ($blProcessable === true && isset($oData->CaptureResult->CaptureDetails)) {
            $this->setCaptureState($oOrder, $oData->CaptureResult->CaptureDetails);
            $this->closeOrderReference($oOrder, array(), false);
        }

        return $oData;
    }
public function capture ( $ oOrder = null , $ aRequestParameters = array ( ) ) { $ oData = $ this -> _callOrderRequest ( 'capture' , $ oOrder , $ aRequestParameters , array ( 'amazon_authorization_id' , 'capture_amount' , 'currency_code' , 'capture_reference_id' , 'seller_capture_note' ) , $ blProcessable ) ; //Update Order info if ( $ blProcessable === true && isset ( $ oData -> CaptureResult -> CaptureDetails ) ) { $ this -> setCaptureState ( $ oOrder , $ oData -> CaptureResult -> CaptureDetails ) ; $ this -> closeOrderReference ( $ oOrder , array ( ) , false ) ; } return $ oData ; }
Amazon Capture method

@param oxOrder $oOrder             OXID Order object
@param array   $aRequestParameters Custom parameters to send

@return stdClass
@throws Exception
Amazon Capture method