src/Payum/Payex/Api/OrderApi.php
public function initialize(array $parameters)
    {
        $parameters['accountNumber'] = $this->options['account_number'];

        //DEPRICATED. Send in as empty string.
        $parameters['externalID'] = '';

        if (isset($parameters['orderId'])) {
            //On request it requires orderID fields when in response it is orderId.
            $parameters['orderID'] = $parameters['orderId'];
            unset($parameters['orderId']);
        }

        $parameters['hash'] = $this->calculateHash($parameters, array(
            'accountNumber',
            'purchaseOperation',
            'price',
            'priceArgList',
            'currency',
            'vat',
            'orderID',
            'productNumber',
            'description',
            'clientIPAddress',
            'clientIdentifier',
            'additionalValues',
            'externalID',
            'returnUrl',
            'view',
            'agreementRef',
            'cancelUrl',
            'clientLanguage',
        ));

        return $this->call('Initialize8', $parameters, $this->getPxOrderWsdl());
    }
public function initialize(array $parameters)
    {
        $parameters['accountNumber'] = $this->options['account_number'];

        //DEPRICATED. Send in as empty string.
        $parameters['externalID'] = '';

        if (isset($parameters['orderId'])) {
            //On request it requires orderID fields when in response it is orderId.
            $parameters['orderID'] = $parameters['orderId'];
            unset($parameters['orderId']);
        }

        $parameters['hash'] = $this->calculateHash($parameters, array(
            'accountNumber',
            'purchaseOperation',
            'price',
            'priceArgList',
            'currency',
            'vat',
            'orderID',
            'productNumber',
            'description',
            'clientIPAddress',
            'clientIdentifier',
            'additionalValues',
            'externalID',
            'returnUrl',
            'view',
            'agreementRef',
            'cancelUrl',
            'clientLanguage',
        ));

        return $this->call('Initialize8', $parameters, $this->getPxOrderWsdl());
    }
@link http://www.payexpim.com/technical-reference/pxorder/initialize8/

@var array $parameters

@return array