Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2013
    Location
    MTL
    Posts
    66
    Plugin Contributions
    2

    Default Porulator Shipping Module and CURL Proxy

    Hi,
    I am using Purolator shipping module and I get it to work on one server. However, where I really needed it to work, the server requires that outgoing connections be done through CURL PROXY. I have tried making changes to multiple files and inputting the proxy server but I can't seem to get it to work or get a different error message. As if whatever changes I am making, they are not being triggered/utilized.
    Any help is greatly appreciated.

    I tried changing nusoap file and transport_http


    var $url = 'mirage.ncs.mcgill.ca';
    var $uri = '';
    var $digest_uri = '';
    var $scheme = 'http';
    var $host = proxy.server.com;
    var $port = '3128';
    var $path = '';
    var $request_method = 'POST';
    var $protocol_version = '1.0';
    var $encoding = '';
    var $outgoing_headers = array();
    var $incoming_headers = array();
    var $incoming_cookies = array();
    var $outgoing_payload = '';
    var $incoming_payload = '';
    var $useSOAPAction = false;
    var $persistentConnection = false;
    var $ch = true; // cURL handle
    var $username = '';
    var $password = '';
    var $authtype = '';
    var $proxyhost = 'proxy.server.com';
    var $proxyport = '3128';
    var $digestRequest = array();
    var $certRequest = array();

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Porulator Shipping Module and CURL Proxy

    I've never used that module, but I imagine that you should have left the $host and $port vars alone, and simply set the $proxy_host and $proxy_port to whatever your actual curl proxy server uses.
    This of course depends on whether the puro module actually supports using a proxy
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Paypal Express and Curl Proxy Port
    By Richard.Tung in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 24 Jan 2011, 05:18 PM
  2. cURL Proxy Adress
    By ataribot in forum PayPal Express Checkout support
    Replies: 8
    Last Post: 10 Jun 2008, 07:55 PM
  3. cURL proxy setting
    By Brian1234 in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 10 Mar 2008, 03:39 AM
  4. activating cURL proxy script
    By jqadams in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 16 Jan 2008, 04:49 PM
  5. cURL Permissions/Proxy Support
    By elitemerlin in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 13 Feb 2007, 11:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg