Great work and I’m glad it’s working for you tparsons.
Our client has not the resources for us to go in and customize the rules regarding implementing negotiated rates they have with UPS. Thus, we’ve decided to go a different route with shipping, as we’ve been unable to get the UPS XML to bring in any different rates than the normal daily rates.
Our client uses Worldship from UPS to get their rates appropriately configured. We were trying to switch out of that to use Magento. Unfortunately, no luck yet. We’re hesitant to customize any rules.
Can I simply ask what the purpose for the UPS XML shipping method in Magento is for? Is it not for “negotiated rates” for companies that have an agreement with UPS?
If it is, then I believe UPS should apply the negotiated rates via XML into Magento to use. Correct?
If they aren’t, then can someone communicate the actual purpose?
So we’ve heard back from UPS and found the following:
- the online UPS Shipping Calculator/Estimator doesn’t include negotiated shipping rates (whether logged in or not)
- UPS’ has a supported Application, “Worldship” where negotiated rates can be applied (unless customized into another 3rd party app)
I’ve seen talk of building out a Worldship extension into Magento. Any news on it? I’m tied up and unable to dig in unless our client desires to have it done, in which case we’d be glad to share our findings with the Magento Community.
Another thought to add in relation to the process flow,
The integration seems to address only POST-purchase order completion integration. (labeling and packaging)
In order to get negotiated rates, we need to find the source that Worldship gets the rates from to apply the rates PRIOR purchase overview before the checkout process begins.
Thus, I don’t believe any of their pre-developed integration techniques will work correctly with Magento.
I have been able to successfully integrate with UPS to retrieve rates as well as create shipments. It required a fair amount of development to add this functionality into what is already present in Magento (release 1.0), but I am willing to contribute this code back to the community.
Key points to keep in mind with UPS integration:
- You must register with UPS to obtain an access key and the required access to their web services. Upon doing this you will have access to the documentation describing the details of the web services, where to point magento, etc. As has been noted already in this post, the URLs that I got working are different from the default ones in Magento, but the documentation will clarify that for you.
- There are separate services for Rates, Tracking, and Shipping that you must register for and be approved to use.
- In order to create shipments and receive a shipping label back from UPS, I integrated with the UPS Ship XML service. It is very robust and allows you to ship with a 3rd party UPS account, negotiated rates, and basically any option provided by UPS (insurance, confirmation, customs forms, etc.)
Something else I forgot to mention about UPS XML...It appears that the UPS URL has changed since version 1.0 was released (see my previous post) and so the default XML URLs did not work for me. The following are the URLs I am using:
I discovered however that the certificate for these sites is not completely valid, so the curl call that the code is using errors out when trying to connect in its release 1.0 state. To fix this, open up app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php and search for ‘
$xmlResponse = curl_exec($ch);
’
Right above that you need to set some curl options to ignore SSL cert errors, so add the following 2 lines (you will see some others that are similar):
Just left a comment on your blog inside the FedEx Group.
We’re very excited to see this being worked on.
Is there any way we can help?
Also for clarification, is the following functionality implemented in what you have already?
- the ability to see “negotiated rates” within the “Estimated Shipping and Tax” block
- the ability to have “negotiated rates” applied within the checkout process?
I’m coming with another question in regards to the UPS Shipping XML configuration.
We’re getting 3 different rates from UPS, which are outlined in the following:
- via the UPS Online Calculater (at the UPS website) WITHOUT being logged in (Highest rates)
- via the UPS Online Calculater (at the UPS website) WITH being logged in (Medium rates)
- via Worldship (which are our negotiated rates) (Lowest Rates)
Thus, instead of pursuing Worldship integration with Magento to get our negotiated rates, we are looking into how we can get the next lowest rates. The way we’re getting them is by logging into the UPS calculator and using our Account ID/number. There isn’t a place to add the Account ID/number as a field inside Magento unless done with customization I’m guessing.
Has anyone been able to use this inside of Magento via having done any customization at this point?
Does anyone have information regarding this idea?
- We need to add in our ACCOUNT # as a parameter directly integrated with the UPS Shipping information that gets sent.
(It will allow us to get our rates associated with our account, rather than the daily UPS standard rate.)
We have not yet received the UPS Developer’s Kit, and thus, don’t know what or how to send the Account # over to UPS.
Has anyone tackled this yet? If not, does anyone have information (via the Developer’s Kit until we get it) that would provide the guidelines we’d need to get this accomplished?
Also, would anyone else benefit from this as well?
HI everybody !!! I’m Guido, form Italy. sorry if my English is not so good but I really need your help about setting UPS shipping xml..
( I’m on last version of magento: 1.0.19870)
I have the XML access key from UPS.
I have a username
I have an account password.
What I would recommend doing is echoing the XML document that you are submitting ($xmlRequest that is being sent via the curl command) and the response you receive back ($xmlResponse that is returned from the curl command). I have found that the UPS error messages that are returned are fairly helpful in tracking down issues. If you are still uncertain of what is causing a failure, post the request and response here and we will try and help you out.
You may find that the ShipXML portion of the app is actually working and the problem lies elsewhere.
Has anyone else gotten the UPS XML to work? If so, can you provide the steps you took to get this going. I have tried everything suggested in this thread, except for contacting UPS to switch to production server which I just sent in a request now.
I’m steel waiting the 2nd UPS phonecall but ( here in Italy ) they told me the Access Key I downloaded on ups.com does not work at moment. They have to generate a new specific key ..
They told me when this “will be ready” the technical support will call me back..
is this possible ? I hope so because my provider wrote me to speak with UPS