USPS error: -2147218043 Unable to calculate intern

  • Posts: 14
  • Thank you received: 1
9 years 7 months ago #174535

-- HikaShop version -- : 2.3.3
-- Joomla version -- : 3.3.3
-- Error-message(debug-mod must be tuned on) -- : USPS error: -2147218043 Unable to calculate international postage. No services available. According to the dimensions entered, your package is too large to be mailed

Hello, I am getting the following error for a USPS shipment to Taiwan:

USPS error: -2147218043 Unable to calculate international postage. No services available. According to the dimensions entered, your package is too large to be mailed

The quantity ordered is 144 PCS. See attached for the item dimensions and weight. Even if i change the quantity to 10 i still get the same error. Changing the quantity to 1 seems to work ok. Any Ideas?

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
9 years 7 months ago #174545

Hello,
I also tested it and I'm also having that error starting 6 products in my cart.
As it's said on the error message, your package is too large for the USPS international services, so the solution can be to only set the weight on your product and not the dimensions.

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

  • Posts: 14
  • Thank you received: 1
9 years 6 months ago #175157

Hi, The package weights less then 5 pounds and the box size is 8x8x4 inches. That,s too big for international service?

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

  • Posts: 26022
  • Thank you received: 4005
  • MODERATOR
9 years 6 months ago #175160

Hi,

If USPS tell you so, it should be the case.
The best is to see with USPS, the plugin is just a bridge between your store and the USPS API, it send the cart details to the USPS API and display what the API return.
But we will perform some test, in order to know if we got the same kind of problem in our side.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 14
  • Thank you received: 1
9 years 6 months ago #178559

Hi I am still having having problems with this issue. Please see the attached images. Hikashop declares no shipping available however if i put the same information on the USPS web site it gives me several rate options. 25% of my orders are international so this is a big problem for me.

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
9 years 5 months ago #178666

Hello,
The USPS shipping plugin is only sending to USPS your order product weight / dimensions and then just displaying the rates/prices that USPS gave to your USPS shipping plugin.
So the solution will probably be to directly contact USPS about their API.

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

  • Posts: 14
  • Thank you received: 1
9 years 5 months ago #178713

Hi, Works fine with opencart and prestashop? Hikashop uses a different API? I believe the problem is related to the way hikashop is calculating the dimensions of the product. For example if the product is 5x5x1 inches, if i add 5 items to the cart hikashop makes the total package dimension 25x25x5 inches and sends that to the usps api. In reality five items that are 5x5x1 inches will fit in a box less then 8x8x8 inches. What do you think?

Last edit: 9 years 5 months ago by zumbador.

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

  • Posts: 26022
  • Thank you received: 4005
  • MODERATOR
9 years 5 months ago #178751

Hi,

Can you please try with this version of the plugin ?

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Attachments:
Last edit: 9 years 4 months ago by Mohamed Thelji. Reason: Fixed a small issue in that package.

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

  • Posts: 14
  • Thank you received: 1
9 years 5 months ago #178806

Hi, I get the following error with the new plug in:

USPS error: -2147221202 The element 'Package' has invalid child element 'Container'. List of possible elements expected: 'Size'.

It does not matter how many items i add to the cart, get the same error

Bright

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

  • Posts: 26022
  • Thank you received: 4005
  • MODERATOR
9 years 5 months ago #178811

Hi,

I see that I put two times the node "Container" ; one should be commented.
I fixed the package in my previous post.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 14
  • Thank you received: 1
9 years 5 months ago #178817

Hi, getting the following error. Even if it is only one item in the cart.

USPS error: -2147218043 Unable to calculate international postage. No services available. According to the dimensions entered, your package is too large to be mailed

Failed to obtain shipping quotes.

Bright

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

  • Posts: 26022
  • Thank you received: 4005
  • MODERATOR
9 years 5 months ago #178821

Hi,

I made an adjustment on the processing of the girth ; in order to be sure that the length is the highest value between the three.
In the plugin, under the line

$parcel->Girth = (($parcel->Height + $parcel->Width) * 2) + $parcel->Length;
I pasted
var_dump(array(
	'l' => $parcel->Length,
	'w' => $parcel->Width,
	'h' => $parcel->Height,
	'g' => $parcel->Girth
));
In order to have some debug data.
For my product 14.5x1.75x0.004 in ; with 4 products in the cart I got
array (size=4)
  'l' => float 14.5
  'w' => float 1.75
  'h' => float 0.016
  'g' => float 18.032
Which looks normal regarding the documentation or other instructions that we can found on the Internet.
www.ehow.com/how_8237197_calculate-girth-usps.html

After that I retrieve the USPS test account we got, configure it with activating all shipping services, in "parcel" mail type and "variable" container.
The plugin gave me some quotes for the 4 products in my cart and the prices looks "good" and not illogical for a shipping in the same state.

So, with the data I got from you and with the latest version of the USPS plugin (I updated once again the plugin in the previous post), I got something which looks good.
If you have still troubles with that, please provide some data which will help me to reproduce your configuration in my test website.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 12
  • Thank you received: 0
9 years 5 months ago #179209

So is there a new plugin or do we need to do this manually? I am dealing with this issue right now.


going-natural.com the source for a new generation.

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

  • Posts: 26022
  • Thank you received: 4005
  • MODERATOR
9 years 5 months ago #179210

Hi,

Yes ; just see my previous post with the plugin attached.
www.hikashop.com/forum/install-update/87...e-intern.html#178751

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 12
  • Thank you received: 0
9 years 5 months ago #179556

Installed it. Selected First Class Mail (International) and Priority Mail International (International) but still the same errors:

Message
USPS error: -2147218043 Unable to calculate international postage. No services available. According to the dimensions entered, your package is too large to be mailed.

If I change the address to a US with the same size envelop the error goes away.


going-natural.com the source for a new generation.

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

  • Posts: 26022
  • Thank you received: 4005
  • MODERATOR
9 years 5 months ago #179613

Hi,

I am sorry but we fixed the issue for the package size calculation.
At this moment if USPS tell you that the package is too large to be mailed for the international it is maybe because the size restrictions are not the same.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 12
  • Thank you received: 0
9 years 5 months ago #179642

I don't get it. Can you please tell me exactly what to check so maybe I can get it to work? See the attachment to see what I checked. Let me know if I am missing something.


going-natural.com the source for a new generation.
Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
9 years 5 months ago #179963

Hello,
As Jerome said :

we fixed the issue for the package size calculation.
At this moment if USPS tell you that the package is too large to be mailed for the international it is maybe because the size restrictions are not the same.

The USPS is only sending your order shipping details to the USPS plateform and then displaying the USPS plateform response.
So in your case the best solution will probably be to contact USPS.

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

  • Posts: 12
  • Thank you received: 0
9 years 5 months ago #179994

Jerome wrote: Hi,

I am sorry but we fixed the issue for the package size calculation.
At this moment if USPS tell you that the package is too large to be mailed for the international it is maybe because the size restrictions are not the same.

Regards,


So please tell me what issue you fixed and what settings I need to set to make international shipping work because I still have the issue. .


going-natural.com the source for a new generation.

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

  • Posts: 12953
  • Thank you received: 1778
9 years 5 months ago #179999

Hello,
1. Can you download the last Hikashop version through our website, install it and test it again, so that we can be sure that you HAVE the fix that we made regarding the calculation of the dimensions/weight that was sent to USPS.

2. The only solution will be to reduce the weight/dimensions of the products that are sent.

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

Time to create page: 0.114 seconds
Powered by Kunena Forum