src/icepay_api_basic.php
protected function basicMode() {
        if (isset($this->data->ic_paymentmethod)) {
            $querystring = http_build_query(array(
                'type' => $this->data->ic_paymentmethod,
                'checkout' => 'yes',
                'ic_redirect' => 'no',
                'ic_country' => $this->data->ic_country,
                'ic_language' => $this->data->ic_language,
                'ic_fp' => $this->generateFingerPrint()
                    ), '', '&');
        } else {
            $querystring = http_build_query(array(
                'ic_country' => $this->data->ic_country,
                'ic_language' => $this->data->ic_language,
                'ic_fp' => $this->generateFingerPrint()
                    ), '', '&');
        }

        return sprintf("%s://%s?%s", $this->_postProtocol, $this->_basicmodeURL, $querystring);
    }
protected function basicMode() {
        if (isset($this->data->ic_paymentmethod)) {
            $querystring = http_build_query(array(
                'type' => $this->data->ic_paymentmethod,
                'checkout' => 'yes',
                'ic_redirect' => 'no',
                'ic_country' => $this->data->ic_country,
                'ic_language' => $this->data->ic_language,
                'ic_fp' => $this->generateFingerPrint()
                    ), '', '&');
        } else {
            $querystring = http_build_query(array(
                'ic_country' => $this->data->ic_country,
                'ic_language' => $this->data->ic_language,
                'ic_fp' => $this->generateFingerPrint()
                    ), '', '&');
        }

        return sprintf("%s://%s?%s", $this->_postProtocol, $this->_basicmodeURL, $querystring);
    }
protected function basicMode ( ) { if ( isset ( $ this -> data -> ic_paymentmethod ) ) { $ querystring = http_build_query ( array ( 'type' => $ this -> data -> ic_paymentmethod , 'checkout' => 'yes' , 'ic_redirect' => 'no' , 'ic_country' => $ this -> data -> ic_country , 'ic_language' => $ this -> data -> ic_language , 'ic_fp' => $ this -> generateFingerPrint ( ) ) , '' , '&' ) ; } else { $ querystring = http_build_query ( array ( 'ic_country' => $ this -> data -> ic_country , 'ic_language' => $ this -> data -> ic_language , 'ic_fp' => $ this -> generateFingerPrint ( ) ) , '' , '&' ) ; } return sprintf ( "%s://%s?%s" , $ this -> _postProtocol , $ this -> _basicmodeURL , $ querystring ) ; }
Generates a URL to the ICEPAY basic API service
@since version 1.0.0
@access protected
@return string URL
Generates a URL to the ICEPAY basic API service