Full service web hosting, great prices and support. Starts at $1.99/month!
Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Ups xml

  1. #1
    BackUpZone
    Guest


    Default Ups xml

    When I activate UPS XML, the page loops and does not continue on to payment type on checkout.

  2. #2
    osCMax Developer


    Ups xml

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,014
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    594


    Default Re: Ups xml

    Did you enter in your UPS account information? Did you verify that your UPS account is active? What version of osCmax?
    Michael Sasek

    osCmax 2.5.4 is now available via auto-installation using Softaculous!

    Stay Up To Date with everything osCMax:
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    BackUpZone
    Guest


    Default Re: Ups xml

    Quote Originally Posted by michael_s View Post
    Did you enter in your UPS account information? Did you verify that your UPS account is active? What version of osCmax?
    Yes I have entered the account info, my UPs account is active and osCmax is v2.0.2.

    This worked on another site, so I am told. The client moved from the old host and I am playing catch up on the new.
    Last edited by BackUpZone; 01-03-2011 at 01:42 PM.

  4. #4
    osCMax Developer


    Ups xml

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,014
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    594


    Default Re: Ups xml

    Could be a cURL error. Verify the cURL is compiled into php with SSL support (contact the host if you aren't sure how to do that). Ask the host if you need to use a proxy with curl. Some hosts have different requirements for using it.
    Michael Sasek

    osCmax 2.5.4 is now available via auto-installation using Softaculous!

    Stay Up To Date with everything osCMax:
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    BackUpZone
    Guest


    Default Re: Ups xml

    You reference cURL with SSL support. Does this mean I have to hvae an SSL Cert?

  6. #6
    osCMax Developer


    Ups xml

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,014
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    594


    Default Re: Ups xml

    No, it means your php needs to be compiled with curl+ssl.
    Michael Sasek

    osCmax 2.5.4 is now available via auto-installation using Softaculous!

    Stay Up To Date with everything osCMax:
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  7. #7
    BackUpZone
    Guest


    Default Re: Ups xml

    Yes, my host has cURL+SSL compiled into PHP and does not require a proxy server.
    My host is GoDaddy if that makes a difference.
    Last edited by BackUpZone; 01-04-2011 at 09:16 AM.

  8. #8
    osCMax Developer


    Ups xml

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,014
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    594


    Default Re: Ups xml

    Yes godaddy does require you set a curl proxy.
    http://groups.google.com/group/googl...07115f9205a84e
    Michael Sasek

    osCmax 2.5.4 is now available via auto-installation using Softaculous!

    Stay Up To Date with everything osCMax:
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  9. #9

  10. #10
    BackUpZone
    Guest


    Default Re: Ups xml

    Your link didn't work. Here is my code from the upsxml.php file->
    else { // default behavior: cURL is assumed to be compiled in PHP
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $url);
    // uncomment the next line if you get curl error 60: error setting certificate verify locations
    // curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
    // uncommenting the next line is most likely not necessary in case of error 60
    // curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_HEADER, 0);
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $xmlRequest);
    curl_setopt($ch, CURLOPT_TIMEOUT, (int)$timeout);
    What do I have to change in this code?

Page 1 of 2 12 LastLast

Bookmarks

Bookmarks

Posting Permissions

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