Results 1 to 3 of 3
  1. #1
    Join Date
    May 2014
    Location
    Oakdale, California, United States
    Posts
    31
    Plugin Contributions
    1

    Default UPS-XML problems with Mexico

    I'm getting no estimate or option. It's enabled in the admin, I even get a fieldset and legend for it at the "checkout - step one", but there's nothing there. I've enabled the log, and I get a successful response. It dies somewhere after that with no output whatsoever. Is it a 1.5.1 compatibility issue?

  2. #2
    Join Date
    May 2014
    Location
    Oakdale, California, United States
    Posts
    31
    Plugin Contributions
    1

    Default Re: Ups xml

    after a var dump it's showing that the quote=>methods array is empty even though I've specified worldwide expedited in the admin (and it's in my database)

  3. #3
    Join Date
    May 2014
    Location
    Oakdale, California, United States
    Posts
    31
    Plugin Contributions
    1

    Default Re: Ups xml

    found the problem. My country of origin was mexico. In the includes/languages/english/modules/shipping/upsxml.php file the mexico origin defines all left out the "worldwide " from their definition, so:
    PHP Code:
        define('MODULE_SHIPPING_UPSXML_SERVICE_CODE_MEXICO_ORIGIN_07''UPS Express');
        
    define('MODULE_SHIPPING_UPSXML_SERVICE_CODE_MEXICO_ORIGIN_08''UPS Expedited');
        
    define('MODULE_SHIPPING_UPSXML_SERVICE_CODE_MEXICO_ORIGIN_54''UPS Express Plus'); 
    Becomes:
    PHP Code:
        define('MODULE_SHIPPING_UPSXML_SERVICE_CODE_MEXICO_ORIGIN_07''UPS Worldwide Express');
        
    define('MODULE_SHIPPING_UPSXML_SERVICE_CODE_MEXICO_ORIGIN_08''UPS Worldwide Expedited');
        
    define('MODULE_SHIPPING_UPSXML_SERVICE_CODE_MEXICO_ORIGIN_54''UPS Worldwide Express Plus'); 
    and problem solved.

 

 

Similar Threads

  1. UPS XML Stopped Communicating with UPS... HELP!
    By rconway28 in forum Addon Shipping Modules
    Replies: 28
    Last Post: 23 Nov 2011, 03:31 PM
  2. UPS shipping to Mexico - UPS XML
    By laura1122 in forum Addon Shipping Modules
    Replies: 9
    Last Post: 12 Dec 2008, 12:42 AM
  3. UPS XML - problems copying to server
    By Dwhitt in forum Addon Shipping Modules
    Replies: 3
    Last Post: 1 Aug 2008, 06:00 AM
  4. UPS shipping to Mexico
    By phastings in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 22 Jul 2008, 12:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg