UPS shipping error

  • Posts: 6
  • Thank you received: 0
  • Hikashop Essential
2 weeks 17 hours ago #368651

-- HikaShop version -- : 6.1.0
-- Joomla version -- : 5.3.3
-- Browser(s) name and version -- : chrome/edge/ff
-- Error-message(debug-mod must be tuned on) -- : [Mon Sep 22 01:41:23.588248 2025] [proxy_fcgi:error] [pid 1753144:tid 1753240] AH01071: Got error 'PHP message: PHP Warning: simplexml_load_string(): Entity: line 1: parser warning : xmlParsePITarget: invalid name prefix 'xml' in public_html/plugins/hikashopshipping/ups/ups.php on line 778; PHP message: PHP Warning: simplexml_load_string(): ?xmlversion="1.0"?><RatingServiceSelectionResponse><Response><ResponseStatusCod in public_html/plugins/hikashopshipping/ups/ups.php on line 778; PHP message: PHP Warning: simplexml_load_string(): ^ in public_html/plugins/hikashopshipping/ups/ups.php on line 778; PHP message: PHP Warning: simplexml_load_string(): Entity: line 1: parser error : ParsePI: PI xmlversion space expected in public_html/plugins/hikashopshipping/ups/ups.php on line 778; PHP message: PHP Warning: simplexml_load_string(): <?xmlversion="1.0"?><RatingServiceSelectionResponse><Response><ResponseStatusCod in public_html/plugins/hikashopshipping/ups/ups.php on line 778; PHP message: PHP Warning: simplexml_load_string(): ^ in public_html/plugins/hikashopshipping/ups/ups.php on line 778; PHP message: PHP Warning: Attempt to read property "RatedShipment" on false in public_html/plugins/hikashopshipping/ups/ups.php on line 782;
PHP message: PHP Warning: foreach() argument must be of type array|object, null given in public_html/plugins/hikashopshipping/ups/ups.php on line 782', referer: compostwerks.com/organics/organic-pest-controls/checkout

I am getting the error "The cart items combined weight is too small for all the possible shipping methods" on all my products on my website that weigh anything from 2-3lbs to 150 lbs.

I did confirm Joomla/Hikashop were up to date.

If anyone can decode the PHP error messages attached. That would be super.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 84441
  • Thank you received: 13738
  • MODERATOR
2 weeks 11 hours ago #368654

Hi,

You're using the old UPS shipping plugin.
The warnings of your PHP log indicate that the response received by the plugin does not conforms with what it is supposed to receive from UPS.
It's probable that UPS has turned off the access to its old servers for your account.
You should migrate to the new UPS OAuth shipping plugin included in HikaShop:
www.hikashop.com/support/documentation/5...p-shipping-ups2-form

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 0
  • Hikashop Essential
1 week 6 days ago #368665

My attempts to enable the new one always seems to fail at the address country code.
For USA, I've tried 01, 1, +1

It throws the attached error.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 84441
  • Thank you received: 13738
  • MODERATOR
1 week 6 days ago #368667

Hi,

It's the 2-letters country code you need to use, not the telephone international prefix.
So, for the USA, it should be "US".

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 0
  • Hikashop Essential
1 week 6 days ago #368671

Thank you very much. That was it!
I would highly recommend that it's renamed to be "Country" vs "Country Code". :)

Please Log in or Create an account to join the conversation.

  • Posts: 84441
  • Thank you received: 13738
  • MODERATOR
1 week 6 days ago #368672

Hi,

Then someone would write "USA", or "United States of America" and it would be the same.
Ideally, it should be "Country 2-letters code" but we thought it was too big for the label.

Note that the documentation page already mention that you need the 2 letters code:
www.hikashop.com/support/documentation/5...pping-ups2-form#spec

Please Log in or Create an account to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum