etrfl Posted August 13, 2011 Share Posted August 13, 2011 I am using 1.4.2 and I called UPS tech support about moving my api key to production access and the person I spoke too said they didn't know and to email them. So I have been emailing for a little bit and this person has said to direct my module to: https://onlinetools.ups.com/ups.app/xml/Rate. I opened module/upscarrier/upscarrier.php and on line 1718 I find this: // Curl Request $ch = curl_init("https://www.ups.com/ups.app/xml/Rate"); curl_setopt($ch, CURLOPT_HEADER, 1); curl_setopt($ch,CURLOPT_POST,1); curl_setopt($ch,CURLOPT_TIMEOUT, 60); curl_setopt($ch,CURLOPT_RETURNTRANSFER,1); curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch,CURLOPT_POSTFIELDS,$xml); $result = curl_exec ($ch); Is $ch what I want to change? Link to comment Share on other sites More sharing options...
jeevanoss Posted August 13, 2011 Share Posted August 13, 2011 $ch = curl_init("https://onlinetools.ups.com/ups.app/xml/Rate"); Link to comment Share on other sites More sharing options...
etrfl Posted August 14, 2011 Author Share Posted August 14, 2011 Thanks, I thought that was what I needed. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now