Archive for November, 2009

UPS XML Setup on Magento

Posted by: Karen Thursday, November 19th, 2009

Pre-Requisite

  1. Get UPS Account – either online or contact your local UPS (as case in UK)
  2. Get UPS Login – http://www.ups.com
  3. Get Developer Key – Look under Support->Technology Support->UPS Online Tools
  4. Get access key – need developer key and Account number for this

And then on Magento

If using SSL omit step 1

  1. In Ups .php add lines just before this –  $xmlResponse = curl_exec ($ch);
    curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  2. Switch on UPS shipping method
  3. Add in user_id, access key, pwd
  4. Test

It’s that easy! I found that changing URLs and anything else was not required.