Results 1 to 10 of 246

Hybrid View

  1. #1
    Join Date
    Mar 2016
    Location
    Marietta GA
    Posts
    84
    Plugin Contributions
    0

    Default Re: UPS XML: Support Thread

    Hey LAT9 - I need to close the loop with you on my Sept post about our UPSXLM not getting our negotiated rates from UPS. Yeah - small businesses just breathlessly roll on to the next challenge. Thanks very much for your help - we got UPS's attention. When I presented this response code (that you spotted) to the UPS technical no-support people, they stopped saying its the shopping carts fault:

    <RatedShipmentWarning>User Id and Shipper Number combination is not qualified to receive negotiated rates.</RatedShipmentWarning>

    They took a good hard look at our UPS Account and figured out, yeah, something was not right....and FIXED it on UPS's end.

    Great plugin you developed. And thanks again for the help.

    Greg

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,939
    Plugin Contributions
    96

    Default Re: UPS XML: Support Thread

    You're welcome, Greg; I'm happy to have helped. Nothing like a little captured response code to show the "tech-no-support" people the error of their ways.

  3. #3
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: UPS XML: Support Thread

    Oldy, moldy zc154

    It's OK if the answer is "Rick get off your ######## and upgrade before stirring in this pot because looking at this is not a productive use of my time" :-)

    I'm just wanted to have some functionality before I start the process with obtaining automated UPS rates for Stamps.com accounts. Past experience with Stamps.com tech folks have proven ineffective and don't expect any different now.

    On standard checkout_shipping page:

    Code:
    10001: The XML document is not well formed
    If you prefer to use ups as your shipping method, please contact SELLER.com via
    CurlTester
    Connecting to Zen Cart Support Server (https) ...
    Error 7: Failed to connect to www.zen-cart.com port 443: Connection refused

    mydebug file:

    Code:
    [27-Feb-2020 11:41:34 America/Los_Angeles] Request URI: /9nd6Q536/modules.php?set=shipping&module=upsxml&action=edit, IP address: 98.146.164.107
    #1  file_get_contents() called at [/home/chainwea/public_html/includes/functions/plugin_support.php:38]
    #2  plugin_version_check_for_updates() called at [/home/chainwea/public_html/includes/modules/shipping/upsxml.php:57]
    #3  upsxml->__construct() called at [/home/chainwea/public_html/9nd6Q536/modules.php:190]
    --> PHP Warning: file_get_contents(http://www.zen-cart.com/downloads.php?do=versioncheck&id=126): failed to open stream: Connection refused in /home/chainwea/public_html/includes/functions/plugin_support.php on line 38.
    
    [27-Feb-2020 11:41:34 America/Los_Angeles] Request URI: /9nd6Q536/modules.php?set=shipping&module=upsxml&action=edit, IP address: 98.146.164.107
    #1  in_array() called at [/home/chainwea/public_html/includes/functions/plugin_support.php:42]
    #2  plugin_version_check_for_updates() called at [/home/chainwea/public_html/includes/modules/shipping/upsxml.php:57]
    #3  upsxml->__construct() called at [/home/chainwea/public_html/9nd6Q536/modules.php:190]
    --> PHP Warning: in_array() expects parameter 2 to be array, null given in /home/chainwea/public_html/includes/functions/plugin_support.php on line 42.
    
    [27-Feb-2020 11:41:35 America/Los_Angeles] Request URI: /9nd6Q536/modules.php?set=shipping&module=upsxml&action=edit, IP address: 98.146.164.107
    #1  file_get_contents() called at [/home/chainwea/public_html/includes/functions/plugin_support.php:38]
    #2  plugin_version_check_for_updates() called at [/home/chainwea/public_html/includes/modules/shipping/usps.php:117]
    #3  usps->__construct() called at [/home/chainwea/public_html/9nd6Q536/modules.php:190]
    --> PHP Warning: file_get_contents(http://www.zen-cart.com/downloads.php?do=versioncheck&id=1292): failed to open stream: Connection refused in /home/chainwea/public_html/includes/functions/plugin_support.php on line 38.
    
    [27-Feb-2020 11:41:35 America/Los_Angeles] Request URI: /9nd6Q536/modules.php?set=shipping&module=upsxml&action=edit, IP address: 98.146.164.107
    #1  in_array() called at [/home/chainwea/public_html/includes/functions/plugin_support.php:42]
    #2  plugin_version_check_for_updates() called at [/home/chainwea/public_html/includes/modules/shipping/usps.php:117]
    #3  usps->__construct() called at [/home/chainwea/public_html/9nd6Q536/modules.php:190]
    --> PHP Warning: in_array() expects parameter 2 to be array, null given in /home/chainwea/public_html/includes/functions/plugin_support.php on line 42.
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,531
    Plugin Contributions
    127

    Default Re: UPS XML: Support Thread

    Upgrade won't help (although obviously you will want to do it at some point). The issue you are hitting is that there is something in the message you are sending which makes the XML invalid. Look for things like ampersands or quotes embedded in product names or perhaps in the customer's address.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #5
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: UPS XML: Support Thread

    TNX Scott,

    Not sure what happened in the meantime but at least now I am getting UPSXML debugs in addition to the generic myDEBUGadm
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

  6. #6
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,915
    Plugin Contributions
    13

    Default Re: UPS XML: Support Thread

    Quote Originally Posted by swguy View Post
    Upgrade won't help (although obviously you will want to do it at some point). The issue you are hitting is that there is something in the message you are sending which makes the XML invalid. Look for things like ampersands or quotes embedded in product names or perhaps in the customer's address.
    what happens if mike d'antonio decides to order? can he not buy anything on the web? or what happens if mike d'antonio wants his product shipped to B&B Italia?

    if the malformed XML document is due to one of those issues (and i'm not saying that it is not), then i think we should fix the plugin (or at least help lat9 with it).

    are you sure you are using the latest version of the plugin?
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  7. #7
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: UPS XML: Support Thread

    Probably helps if I post the UPSXML debug instead of the zencart admin debug, though I don't know why the admin debug would have indications of UPSXML issues and also reference USPS in the same error. Admin error looks like zen-cart.com plugin support check is no longer supported

    And to go along with carlwhat comments, I happen to live adjacent to the only town in the usa that has an apostrophe in the name but have learned to use a space instead.

    Code:
    Date and Time: 2020-02-27 15:24:15
    UPS URL: https://onlinetools.ups.com:443/ups.app/xml/Rate
    UPS Request: <?xml version="1.0"?>
    <AccessRequest xml:lang="en-US">
       <AccessLicenseNumber>removedforsecurity</AccessLicenseNumber>
       <UserId>Chaingedforsecurity</UserId>
       <Password>8XRs2*xzt$KW&xb@</Password>
    </AccessRequest>
    <?xml version="1.0"?>
    <RatingServiceSelectionRequest xml:lang="en-US">
       <Request>
           <TransactionReference>
               <CustomerContext>Rating and Service</CustomerContext>
               <XpciVersion>1.0001</XpciVersion>
           </TransactionReference>
           <RequestAction>Rate</RequestAction>
           <RequestOption>shop</RequestOption>
       </Request>
       <PickupType>
           <Code>03</Code>
       </PickupType>
       <Shipment>
    <RateInformation><NegotiatedRatesIndicator /></RateInformation>
           <Shipper>
               <Address>
                   <City>Hayden</City>
                   <StateProvinceCode>LA</StateProvinceCode>
                   <CountryCode>US</CountryCode>
                   <PostalCode>83835</PostalCode>
               </Address>
    <ShipperNumber>6digits</ShipperNumber>
           </Shipper>
           <ShipTo>
               <Address>
                   <City>Hayden</City>
                   <StateProvinceCode>ID</StateProvinceCode>
                   <CountryCode>US</CountryCode>
                   <PostalCode>83835</PostalCode>
    <ResidentialAddressIndicator/>
               </Address>
           </ShipTo>
           <Package>
               <PackagingType>
                   <Code>02</Code>
               </PackagingType>
               <PackageWeight>
                   <UnitOfMeasurement>
                       <Code>LBS</Code>
                   </UnitOfMeasurement>
                   <Weight>1</Weight>
               </PackageWeight>
               <PackageServiceOptions>
                   <InsuredValue>
                       <CurrencyCode>USD</CurrencyCode>
                       <MonetaryValue>142</MonetaryValue>
                   </InsuredValue>
               </PackageServiceOptions>
           </Package>
       </Shipment>
       <CustomerClassification>
           <Code>04</Code>
       </CustomerClassification>
    </RatingServiceSelectionRequest>
    
    UPS RESPONSE: <?xml version="1.0"?>
    <RatingServiceSelectionResponse><Response><TransactionReference><CustomerContext>Rating and Service</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><ResponseStatusCode>0</ResponseStatusCode><ResponseStatusDescription>Failure</ResponseStatusDescription><Error><ErrorSeverity>Hard</ErrorSeverity><ErrorCode>10001</ErrorCode><ErrorDescription>The XML document is not well formed</ErrorDescription></Error></Response></RatingServiceSelectionResponse>
    Last edited by RixStix; 28 Feb 2020 at 12:33 AM. Reason: additional info
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

  8. #8
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: UPS XML: Support Thread

    Sorry, should have said UPSXML v1.7.7

    Production or Test server: same debug file
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

  9. #9
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,915
    Plugin Contributions
    13

    Default Re: UPS XML: Support Thread

    problem with your password....

    try changing your password and removing the &xb

    ahem.... ahem.... cough... cough....

    best.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 

Similar Threads

  1. UPS discounted rates not showing in UPS XML
    By cspan27 in forum Addon Shipping Modules
    Replies: 51
    Last Post: 27 Jun 2016, 03:52 PM
  2. v151 Ty UPS WorldShip Support Thread
    By colosports in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 1 Jun 2014, 12:05 AM
  3. UPS XML Stopped Communicating with UPS... HELP!
    By rconway28 in forum Addon Shipping Modules
    Replies: 28
    Last Post: 23 Nov 2011, 03:31 PM
  4. UPS Shipping - not working (UPS-XML addon)
    By breck in forum Addon Shipping Modules
    Replies: 30
    Last Post: 20 Aug 2010, 03:24 AM
  5. UPS/UPS XML Future Day Pick-up
    By fred_hf in forum Addon Shipping Modules
    Replies: 0
    Last Post: 21 Dec 2009, 07:59 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