Forum Replies Created

Viewing 1 replies (of 1 total)
  • Forum: Plugins
    In reply to: E-Commerce chrckout error
    eugentango

    (@eugentango)

    Try to put this in the lines 301-311 instead of those in the file.
    I have added one line with “if” and {}
    I don’t know why but it is working ??
    If you find a better decision, please mail it to me.

    Remember, you do it on your own risk!

    $url = ‘https://’.$usps_server.’/’ . $api_dll . ‘?’ . $request;
    $ch=curl_init();
    if (ini_get(‘open_basedir’) == ” && ini_get(‘safe_mode’ == ‘Off’)){
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_NOPROGRESS, 1);
    curl_setopt($ch, CURLOPT_VERBOSE, 1);
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION,1);
    curl_setopt($ch, CURLOPT_TIMEOUT, 120);
    curl_setopt($ch, CURLOPT_USERAGENT, ‘osCommerce’);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); }
    $body = curl_exec($ch);

Viewing 1 replies (of 1 total)