web.geek Posted December 14, 2010 Share Posted December 14, 2010 I know it's an alpha release and a new module, but does anyone have any guidance on how to configure the UPS module in version 1.4.0.4? I have signed up with UPS, and I have a "MyUPS" ID and API key. What is the difference between the "MyUPS" ID and the UPS Login? Does it need the account number somewhere in the configuration?I thought I had it all configured correctly, but when I "submit query" I get Prestashop could not connect to UPS webservice, check your API Key Thanks in advance for any assistance on this Link to comment Share on other sites More sharing options...
conundrum Posted December 16, 2010 Share Posted December 16, 2010 I'll second that. I was just about to post the same question and I figured I should search first.Lesson to forum newbs: search before post Seriously though, I went through the same process and I have a bit of a twist. I'm in Canada.What location are you in? Link to comment Share on other sites More sharing options...
web.geek Posted December 16, 2010 Author Share Posted December 16, 2010 I'm in the USA. Are you saying you figured it out, or are you in the same boat? I'm not sure what part I am missing, since I have my UPS ID and the API key. Link to comment Share on other sites More sharing options...
conundrum Posted December 17, 2010 Share Posted December 17, 2010 I haven't figured it out yet. UPS thinks I'm nuts, so thats always helpful. I have tried various combinations of API, MyUPS ID, account number, etc. with no luck. UPS told me to 'Go read the API documentation'. I have read alot of it and it doesn't have any answers yet.Has anyone else gotten this to work?? Link to comment Share on other sites More sharing options...
conundrum Posted December 22, 2010 Share Posted December 22, 2010 BUMP!Anyone have any luck with this? Link to comment Share on other sites More sharing options...
Aramaxus Posted December 31, 2010 Share Posted December 31, 2010 MyUPS is different than having an "Account" Try using the login info for your Account not for MyUPS. Do you remember signing up for MyUPS then having to register for an account after? Link to comment Share on other sites More sharing options...
rocky Posted December 31, 2010 Share Posted December 31, 2010 This issue has been reported and fixed here. The error message is inaccurate. It means that the UPS website didn't return any prices for the provided values. Link to comment Share on other sites More sharing options...
robinWilliams Posted January 6, 2011 Share Posted January 6, 2011 We're continuing to have this problem.First, I do not know any difference between UPS Login and MyUps ID. I did not get anything new when I got my new API Key.When I enter the information, I get Prestashop could not connect to UPS webservices, check your API Key Link to comment Share on other sites More sharing options...
web.geek Posted January 7, 2011 Author Share Posted January 7, 2011 In the bug thread #6816, Fabien respnded: I did not describe very well the input, I will in the next version.Your login and your password are the one you fill when you subscribe to UPS. MyUps ID is your UPS account number, you received it by Email.However, I tried using my account number for the MyUPS ID and still get the same error. You may want to try it yourself. Link to comment Share on other sites More sharing options...
conundrum Posted January 7, 2011 Share Posted January 7, 2011 Same here. Still fighting with the same module. Link to comment Share on other sites More sharing options...
isisescul Posted January 14, 2011 Share Posted January 14, 2011 PrestoChangeo module works with the same coordinates the beta version's UPS module does not. SO it's not a API KEY issue.To answer to robinWilliams's uncertanity Your UPS Login : your UPS website login that looks like whatever you decided to put there Your MyUps ID : it your UPS Account Number that looks like a random string of leters and numbers - all in caps.Looking forward to see thie issue solved. 1 Link to comment Share on other sites More sharing options...
web.geek Posted January 27, 2011 Author Share Posted January 27, 2011 Awesome! I got the UPS module to connect with my login and API key. So now what? How do I get the rates to calculate during the checkout process? Has anyone gotten the UPS module configured and setup carriers to get rates? I could use some guidance...just a nudge to get going in the right direction. Link to comment Share on other sites More sharing options...
web.geek Posted January 28, 2011 Author Share Posted January 28, 2011 This is quite the adventure. I finally have communication between my shop and UPS, I have a test customer that can add items to a cart and is presented with UPS shipping options at checkout. So, here is the next hurdle.The prices cannot be right. They are way too low. My test customer has 2.0 lbs worth of items being shipped from US zip code 85027 (AZ) to US zip code 95131 (CA). The UPS Ground quote through the module is $8.35 and should include my $2 handling (which I don't think it does). When I go to myups.com and put in the same specs, the quote I get is for $12.01.For Next Day Air, the PrestaShop module quotes $42.78 while myups.com quotes me $47.25. Anybody out there have any ideas? Has anyone found the PrestoChangeo module to be more accurate? Link to comment Share on other sites More sharing options...
tomerg3 Posted January 28, 2011 Share Posted January 28, 2011 Hi,There is a demo front and back end for the module, which you can try for yourself and see the rates you get.I am going to have a new versions soon which will support multiple packages (and automatically calculate how many boxes are needed for the products in the cart) as well as a few other options.If you want to see and help test the new version, just send me a PM or email. Link to comment Share on other sites More sharing options...
web.geek Posted January 28, 2011 Author Share Posted January 28, 2011 PM sent. Thanks Link to comment Share on other sites More sharing options...
web.geek Posted January 28, 2011 Author Share Posted January 28, 2011 What a breakthrough! I found out how to get Residential rates from the PrestaShop UPS Module after reviewing the "Rating Package XML Developers Guide" from UPS (in their Developers API section). I edited the /modules/upscarrier/xml.tpl and added the following code to the RatingServiceSelectionRequest/Shipment/ShipTo/Address xpath: <?xml version="1.0" ?> ... ... ... <!-- Add this line --> ... ... ... I'm not sure if it made a difference or not, but I also added an element for CustomerClassification in order to get "Rates Associated with Shipper Number." The element needs to be added in the RatingServiceSelectionRequest xpath: <?xml version="1.0" ?> ... <!-- Add these 3 lines --> 00 ... The UPS Ground amount is still $1.00 or so short of what UPS is quoting me, but the other values were spot on. Definite progress. My handling rate doesn't seem to get included though. Sigh, off to do more testing. Link to comment Share on other sites More sharing options...
web.geek Posted January 28, 2011 Author Share Posted January 28, 2011 Arrgg. 1 step forward and 2 back. PrestaShop isn't multiplying the product weight by the number ordered (e.g. 1 x 1 lb. object or 3 x 1 lb. objects still calculates as 1 lb. for shipping) and it is calculating separate shipping for each item in the cart (e.g. 1 object is $11.94 for ground and a second object makes the shipping total $23.88). Link to comment Share on other sites More sharing options...
cs378 Posted March 8, 2011 Share Posted March 8, 2011 Arrgg. 1 step forward and 2 back. PrestaShop isn't multiplying the product weight by the number ordered (e.g. 1 x 1 lb. object or 3 x 1 lb. objects still calculates as 1 lb. for shipping) and it is calculating separate shipping for each item in the cart (e.g. 1 object is $11.94 for ground and a second object makes the shipping total $23.88). Yeah... I wish they fix that soon. There is a post within "report bug" shown as fixed/complete, but the problem is still there at version 1.4.0.15any one has a personal fix for it, please share Link to comment Share on other sites More sharing options...
zenpawn Posted March 31, 2011 Share Posted March 31, 2011 Arrgg. 1 step forward and 2 back. PrestaShop isn't multiplying the product weight by the number ordered (e.g. 1 x 1 lb. object or 3 x 1 lb. objects still calculates as 1 lb. for shipping) and it is calculating separate shipping for each item in the cart (e.g. 1 object is $11.94 for ground and a second object makes the shipping total $23.88). Yeah... I wish they fix that soon. There is a post within "report bug" shown as fixed/complete, but the problem is still there at version 1.4.0.15any one has a personal fix for it, please share OK, I hope this helps someone. This is for if you know you're calculating based on weight. It groups all the products into one package versus multiple as it currently works.In modules/upscarrier/upscarrier.php find // Getting shipping cost for each product Just above it, add // Init package list $wsParams['package_list'] = array( array( 'width' => 1, 'height' => 1, 'depth' => 1, 'weight' => 0, 'packaging_type' => ($config['packaging_type_code'] ? $config['packaging_type_code'] : Configuration::get('UPS_CARRIER_PACKAGING_TYPE')) ) ); Then, find $wsParams['package_list'][] = array( 'width' => ($product['width'] ? $product['width'] : 1), 'height' => ($product['height'] ? $product['height'] : 1), 'depth' => ($product['depth'] ? $product['depth'] : 1), 'weight' => ($product['weight'] ? $product['weight'] : 1), 'packaging_type' => ($config['packaging_type_code'] ? $config['packaging_type_code'] : Configuration::get('UPS_CARRIER_PACKAGING_TYPE')), ); and replace it with $wsParams['package_list'][0]['weight'] += ($product['weight'] ? $product['weight'] : 1); Note: If you already have stuff in your cart, you may need to add another product to force a call to UPS and see a difference. Link to comment Share on other sites More sharing options...
fkreileman Posted May 6, 2011 Share Posted May 6, 2011 Ok I am currently trying to configure the module.Well i got my account numbers and such only i get this when i click on save :Fatal error (Carrier->delay is empty for default language.)Where is it located and better what is causing it?Hope someone is brighter than I am :S Link to comment Share on other sites More sharing options...
tomerg3 Posted May 6, 2011 Share Posted May 6, 2011 You need to enter a "description / delivery time" to the carrier (edit it and try to add it Shipping->carrier->edit). Link to comment Share on other sites More sharing options...
fkreileman Posted May 6, 2011 Share Posted May 6, 2011 Found the solution..Just made a comment of line 85, public function getTranslationsFieldsChild() {//parent::validateFieldsLang(); return parent::getTranslationsFields(array('delay'));that did the trick seems sth is wrong with validating language, what I don't know yet, but the weird error i got left the building Thanks for ur time anyway.. very happy to have such a quick response..Now I can configure the thing..Btw. Is there a way to import a list of price ranges? Link to comment Share on other sites More sharing options...
riccardo90 Posted September 19, 2011 Share Posted September 19, 2011 Found the solution.. Just made a comment of line 85, public function getTranslationsFieldsChild() { //parent::validateFieldsLang(); return parent::getTranslationsFields(array('delay')); that did the trick seems sth is wrong with validating language, what I don't know yet, but the weird error i got left the building Thanks for ur time anyway.. very happy to have such a quick response.. Now I can configure the thing.. Btw. Is there a way to import a list of price ranges? sorry, where this file?? Link to comment Share on other sites More sharing options...
fkreileman Posted September 20, 2011 Share Posted September 20, 2011 its in your classes folder carrier.php but i have to inform you, UPS is the only carrier is use. Link to comment Share on other sites More sharing options...
vixensjlin Posted July 19, 2014 Share Posted July 19, 2014 Your UPS Login : your UPS website login that looks like whatever you decided to put there Your MyUps ID : it your UPS Account Number that looks like a random string of leters and numbers - all in caps. Best description out there -- even better than UPS documentation. Questions: So UPS account number is identical to MyUps ID? 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