Zen Cart Logo
Forums / Addon Shipping Modules / UPS XML: Support Thread

UPS XML: Support Thread

Views: 110,356

Results 61 to 80 of 246
26 Feb 2019, 6:47 PM
#61
apollowilcox avatar

apollowilcox

Zen Follower

Join Date:
Sep 2014
Location:
Indiana
Posts:
123
Plugin Contributions:
0

UPS XML: Support Thread

Just for my edification, did either the Shipper Number or UPS password contain 'special' characters, e.g. <>"&?

Both the Shipper number and password were simply alphanumeric. No special characters.

26 Feb 2019, 6:50 PM
#62
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: UPS XML: Support Thread

apollowilcox:

Both the Shipper number and password were simply alphanumeric. No special characters.
Thanks for the follow-up; just checking for over-sanitization.

26 Jun 2019, 8:06 PM
#63
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: UPS XML: Support Thread

I've just submitted v1.7.3 of the UPS/XML shipping module to the Zen Cart moderators for review and will post back here when it's available for download.

 This release contains changes associated with the following GitHub issues:

#8: Don't return rates if an error is detected.
#11: Correct various undefined constants PHP warnings.
#12: Restructure logging.
#13: Drop support for Zen Cart versions prior to 1.5.3.

6 Aug 2019, 6:24 PM
#65
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: UPS XML: Support Thread

I just installed it on a cart but it's returning this: An unknown error occurred with the ups shipping calculations.

I've used this before with no issues so not sure what's going on.

6 Aug 2019, 6:40 PM
#66
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: UPS XML: Support Thread

Delia, which version of UPSXML and Zen Cart?

Edit: That message is issued when no quotes (and no errors) are returned by UPS. You could enable the shipping-method's debug to see the request/response information.

6 Aug 2019, 6:42 PM
#67
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: UPS XML: Support Thread

your most recent upload (1.7.3) and 1.5.5f

6 Aug 2019, 7:04 PM
#68
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: UPS XML: Support Thread

Sorry, it's 1.5.6a. A new client and didn't realize. on php 5.6.27

6 Aug 2019, 7:10 PM
#69
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: UPS XML: Support Thread

Shouldn't make a difference. That upsxml log-file will tell the story.

6 Aug 2019, 7:20 PM
#70
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: UPS XML: Support Thread

Everything looks correct for English/American etc in the shipping method and in the cart. Assuming they set up their account properly at UPS?

"This measurement system is not valid for the selected country or territory."

6 Aug 2019, 7:25 PM
#71
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: UPS XML: Support Thread

delia:

Everything looks correct for English/American etc in the shipping method and in the cart. Assuming they set up their account properly at UPS?

"This measurement system is not valid for the selected country or territory."
That's apparently a message coming back from UPS (it's not in the upsxml language file). It "sounds like" the either the Unit Weight or Unit Length settings aren't valid for whatever the "selected country" is (e.g. KGS or CM, respectively, when the country is the US).

6 Aug 2019, 7:29 PM
#72
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: UPS XML: Support Thread

yup but lbs and inches are selected in the module

6 Aug 2019, 7:34 PM
#73
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: UPS XML: Support Thread

Are there any myDEBUG*.log files created?

6 Aug 2019, 7:35 PM
#74
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: UPS XML: Support Thread

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>111057</ErrorCode><ErrorDescription>This measurement system is not valid for the selected country or territory.</ErrorDescription></Error></Response></RatingServiceSelectionResponse>

6 Aug 2019, 7:37 PM
#75
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: UPS XML: Support Thread

Right, that's the UPSXML debug ... but are there any PHP-related errors (like notices) logged?

What's the store's defined country and to which country are you attempting to ship?

Edit: Also, that upsxml log surely had a request portion as well; it would help immensely to know what that was.

6 Aug 2019, 7:55 PM
#76
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: UPS XML: Support Thread

no php errors to my knowledge. None show in the logs folder. Shipping Maryland to Maine.

6 Aug 2019, 7:57 PM
#77
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: UPS XML: Support Thread

How about posting the **request **portion of that upsxml log?

6 Aug 2019, 8:00 PM
#78
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: UPS XML: Support Thread

thanks for your patience! When I was stripping that, I saw they had put in MD instead of US. Gads! So now fixed!

6 Aug 2019, 8:11 PM
#79
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: UPS XML: Support Thread

... and thanks for posting back the solution!

24 Aug 2019, 6:50 PM
#80
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: UPS XML: Support Thread

I've just submitted v1.7.4 of UPSXML to the Zen Cart moderators for review; I'll post back here once available for download.

 This release contains changes associated with the following GitHub issues:

#14: Remove unwanted slash in shipping-icon link
#15: Remove quotes around numeric-field values in installation SQL