src/icepay_api_pbm.php
private function generateURL($parameters)
    {
        $ch = curl_init();

        $parameters = http_build_query($parameters);

        curl_setopt($ch, CURLOPT_URL, $this->url);
        curl_setopt($ch, CURLOPT_POST, true);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
        curl_setopt($ch, CURLOPT_POSTFIELDS, $parameters);

        $result = curl_exec($ch);

        curl_close($ch);
        
        return $result;
    }
private function generateURL($parameters)
    {
        $ch = curl_init();

        $parameters = http_build_query($parameters);

        curl_setopt($ch, CURLOPT_URL, $this->url);
        curl_setopt($ch, CURLOPT_POST, true);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
        curl_setopt($ch, CURLOPT_POSTFIELDS, $parameters);

        $result = curl_exec($ch);

        curl_close($ch);
        
        return $result;
    }
private function generateURL ( $ parameters ) { $ ch = curl_init ( ) ; $ parameters = http_build_query ( $ parameters ) ; curl_setopt ( $ ch , CURLOPT_URL , $ this -> url ) ; curl_setopt ( $ ch , CURLOPT_POST , true ) ; curl_setopt ( $ ch , CURLOPT_RETURNTRANSFER , 1 ) ; curl_setopt ( $ ch , CURLOPT_POSTFIELDS , $ parameters ) ; $ result = curl_exec ( $ ch ) ; curl_close ( $ ch ) ; return $ result ; }
Calls PBM platform and returns generated PBM link

@since 1.0.0
@param object $parameters
@return string
Calls PBM platform and returns generated PBM link