Dangeo1 Posted January 1, 2004 Share Posted January 1, 2004 I've got a problem with my UPS rates and I'm trying to get UPS to help me solve them. Basically, their XML rates are lower than the rates actually charged. I'm a small store and take my UPS deliveries to the retail outlet for shipment. So, I sent them an e-mail complaining about it. We've checked all the "usual" suspects and now they want a capture of the XML string that was sent requesting the rate, and the response received. (along with other information). It'll be easy enough to re-create the order, but how can I go about grabbing the XML data stream? Quote Link to comment Share on other sites More sharing options...
Dangeo1 Posted January 2, 2004 Author Share Posted January 2, 2004 Bump for love. Anybody? Quote Link to comment Share on other sites More sharing options...
Guest Posted January 2, 2004 Share Posted January 2, 2004 no bumping allowed Quote Link to comment Share on other sites More sharing options...
Guest Posted January 2, 2004 Share Posted January 2, 2004 from the readme: If you fail to get quotes, an error message will usually tell you why. Make sure your origin information is correct, and use the proper two-letter codes for your country and state/province. If you STILL don't get any quotes, you can enable logging which will record the request/ response of the transactions. Look for and uncomment the line in upsxml.php: //$this->logfile = '/tmp/upsxml.log'; Change the location of the log to something you can read, and give the shopping cart a whirl. Your request/response will eventually show up there. ------------------------------------ Disclaimer: This disclaimer disclaims the previous disclaimer which disclaims: This revision is based on ups.php v.1.53, which employs the UPS cgi method that has been deprecated for over a year and although it appears to remain functional is no longer officially supported by UPS. The currently supported UPS API requires XML requests through a secure socket layer, for which there is not yet an osC implementation. ------------------------------------ Also on the contributions, it states to use contributions at your own risk. Quote Link to comment Share on other sites More sharing options...
Dangeo1 Posted January 2, 2004 Author Share Posted January 2, 2004 from the readme: If you fail to get quotes, an error message will usually tell you why. Make sure your origin information is correct, and use the proper two-letter codes for your country and state/province. If you STILL don't get any quotes, you can enable logging which will record the request/ response of the transactions. Look for and uncomment the line in upsxml.php: //$this->logfile = '/tmp/upsxml.log'; Change the location of the log to something you can read, and give the shopping cart a whirl. Your request/response will eventually show up there. ------------------------------------ Disclaimer: This disclaimer disclaims the previous disclaimer which disclaims: This revision is based on ups.php v.1.53, which employs the UPS cgi method that has been deprecated for over a year and although it appears to remain functional is no longer officially supported by UPS. The currently supported UPS API requires XML requests through a secure socket layer, for which there is not yet an osC implementation. ------------------------------------ Also on the contributions, it states to use contributions at your own risk. Thanks! Re-created order contents/address, and made a /tmp/upsxml.log file. It's not working yet, but I haven't given up. Quote Link to comment Share on other sites More sharing options...
4play Posted February 12, 2004 Share Posted February 12, 2004 I'm having trouble with the ups xml module. I fixed the spelling error but still am unable to connect to the ups server. I would like to check the output log but don't know how to set this up ?!? :( I disabled the '//' but nothing gets saved ?!? Anyone knows what might be wrong ? Thanks Quote Link to comment Share on other sites More sharing options...
4play Posted February 14, 2004 Share Posted February 14, 2004 I finally managed to start the logging.. didn't know the contrib had to be in production mode. I still don't get any reply from UPS server though.. it remains dead ?!? HELP! :blink: Quote Link to comment Share on other sites More sharing options...
SlammedDime Posted February 15, 2004 Share Posted February 15, 2004 http://www.oscommerce.com/forums/index.php?sho...10entry310099 Quote Link to comment Share on other sites More sharing options...
4play Posted February 16, 2004 Share Posted February 16, 2004 Thanks !! I finally found out that my hosting package has libcurl installed before SSL :( Thanks again for your help Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.