osCmax v2.5 User Manual
Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Ups xml

This is a discussion on Ups xml within the UPS XML forums, part of the Shipping Modules category; When I activate UPS XML, the page loops and does not continue on to payment type on checkout....

      
  1. #1
    New Member
    Join Date
    Oct 2010
    Posts
    8
    Rep Power
    0


    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

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    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 Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    New Member
    Join Date
    Oct 2010
    Posts
    8
    Rep Power
    0


    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 12:42 PM.

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    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 Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    New Member
    Join Date
    Oct 2010
    Posts
    8
    Rep Power
    0


    Default Re: Ups xml

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

  6. #6
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Ups xml

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


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  7. #7
    New Member
    Join Date
    Oct 2010
    Posts
    8
    Rep Power
    0


    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 08:16 AM.

  8. #8
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Ups xml

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


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  9. #9
    New Member
    Join Date
    Oct 2010
    Posts
    8
    Rep Power
    0

  10. #10
    New Member
    Join Date
    Oct 2010
    Posts
    8
    Rep Power
    0


    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

Posting Permissions

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