src/Payline/PaylineSDK.php
public function doAuthorization(array $array)
    {
        $this->formatRequest($array);
        $WSRequest = array(
            'payment'                   => $this->payment($array['payment']),
            'card'                      => $this->card($array['card']),
            'order'                     => $this->order($array['order']),
            'buyer'                     => $this->buyer($array['buyer'], $array['shippingAddress'], $array['billingAddress']),
            'owner'                     => $this->owner($array['owner'], $array['ownerAddress']),
            'privateDataList'           => $this->privateData,
            'authentication3DSecure'    => $this->authentication3DSecure($array['3DSecure']),
            'bankAccountData'           => $this->bankAccountData($array['bankAccountData']),
            'subMerchant'               => $this->subMerchant($array['subMerchant']),
            'asynchronousRetryTimeout'  => $array['asynchronousRetryTimeout']
        );
        return $this->webServiceRequest($array, $WSRequest, self::DIRECT_API, 'doAuthorization');
    }
public function doAuthorization(array $array)
    {
        $this->formatRequest($array);
        $WSRequest = array(
            'payment'                   => $this->payment($array['payment']),
            'card'                      => $this->card($array['card']),
            'order'                     => $this->order($array['order']),
            'buyer'                     => $this->buyer($array['buyer'], $array['shippingAddress'], $array['billingAddress']),
            'owner'                     => $this->owner($array['owner'], $array['ownerAddress']),
            'privateDataList'           => $this->privateData,
            'authentication3DSecure'    => $this->authentication3DSecure($array['3DSecure']),
            'bankAccountData'           => $this->bankAccountData($array['bankAccountData']),
            'subMerchant'               => $this->subMerchant($array['subMerchant']),
            'asynchronousRetryTimeout'  => $array['asynchronousRetryTimeout']
        );
        return $this->webServiceRequest($array, $WSRequest, self::DIRECT_API, 'doAuthorization');
    }
public function doAuthorization ( array $ array ) { $ this -> formatRequest ( $ array ) ; $ WSRequest = array ( 'payment' => $ this -> payment ( $ array [ 'payment' ] ) , 'card' => $ this -> card ( $ array [ 'card' ] ) , 'order' => $ this -> order ( $ array [ 'order' ] ) , 'buyer' => $ this -> buyer ( $ array [ 'buyer' ] , $ array [ 'shippingAddress' ] , $ array [ 'billingAddress' ] ) , 'owner' => $ this -> owner ( $ array [ 'owner' ] , $ array [ 'ownerAddress' ] ) , 'privateDataList' => $ this -> privateData , 'authentication3DSecure' => $ this -> authentication3DSecure ( $ array [ '3DSecure' ] ) , 'bankAccountData' => $ this -> bankAccountData ( $ array [ 'bankAccountData' ] ) , 'subMerchant' => $ this -> subMerchant ( $ array [ 'subMerchant' ] ) , 'asynchronousRetryTimeout' => $ array [ 'asynchronousRetryTimeout' ] ) ; return $ this -> webServiceRequest ( $ array , $ WSRequest , self :: DIRECT_API , 'doAuthorization' ) ; }
calls doAuthorization web service

@param array $array
associative array containing doAuthorization parameters
calls doAuthorization web service