[Skip to main content](#vessel-content)

#   USPS2 Not Providing Rates

##

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5807-jazzmang "View jazzmang's Profile")
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

9 months 3 weeks ago [\#370010](#370010) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[USPS2 Not Providing Rates](/forum/28-shipping-methods/909677-usps2-not-providing-rates?start=60#370010 "-- url of the page with the problem -- :   grandprix-software-central.com/index.php/shopping  -- HikaShop version -- : 6.1.0 -- Joomla version -- : 5.3.3 -- PHP version -- : 8.2.29 -- Browser(s) name and version -- : Firefox 142.0.1 -- Error-message(debug-mod must be tuned on) -- : USPS 2: Failed to retrieve prices. &#91;&#93; One or more required field(s) are missing from the request, /prices/v3/base-rates-list/search. - -  When trying to migrate from the USPS plugin, which I have used for many years now, to the new USPS2 plugin, I am getting these errors. These only show up if I deactivate the current USPS plugin.  There is no help documentation for the plugin, which is a disappointment, after spending 40 euros on this when the old one was free. I entered the Client ID, Client Secret and postal code. I have no idea where to find the USPS Account Number or what Account Type to use.")*

v1.5.3 fixed the issue with the rates not showing.

One discrepancy is that First-Class doesn't get the Rate Indicator Restriction [XX] tagged on at the end

.e.g.
USPS (new under 1oz) First-Class Mail $1.03
USPS (new under 1oz) USPS Ground Advantage - [SP] Single Piece $7.90
USPS (new under 1oz) Priority Mail - [SP] Single Piece $14.20
USPS (new under 1oz) Priority Mail Express - [E4] Priority Mail Express Flat Rate Envelope - Post Office To Addressee $33.40
USPS (new under 1oz) Priority Mail Express - [E6] Priority Mail Express Legal Flat Rate Envelope $33.65
USPS (new under 1oz) Priority Mail Express - [E7] Priority Mail Express Legal Flat Rate Envelope Sunday / Holiday $33.65
USPS (new under 1oz) Priority Mail Express - [PA] Priority Mail Express Single Piece $43.70

Is that overlooked, or is there a reason? I figured it would be [SP] Single Piece like Ground and Priority Mail.

Doing more testing, but it looks promising.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvOTA5Njc3LXVzcHMyLW5vdC1wcm92aWRpbmctcmF0ZXM/c3RhcnQ9NjAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5807-jazzmang "View jazzmang's Profile")
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

9 months 3 weeks ago [\#370014](#370014) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[USPS2 Not Providing Rates](/forum/28-shipping-methods/909677-usps2-not-providing-rates?start=60#370014 "-- url of the page with the problem -- :   grandprix-software-central.com/index.php/shopping  -- HikaShop version -- : 6.1.0 -- Joomla version -- : 5.3.3 -- PHP version -- : 8.2.29 -- Browser(s) name and version -- : Firefox 142.0.1 -- Error-message(debug-mod must be tuned on) -- : USPS 2: Failed to retrieve prices. &#91;&#93; One or more required field(s) are missing from the request, /prices/v3/base-rates-list/search. - -  When trying to migrate from the USPS plugin, which I have used for many years now, to the new USPS2 plugin, I am getting these errors. These only show up if I deactivate the current USPS plugin.  There is no help documentation for the plugin, which is a disappointment, after spending 40 euros on this when the old one was free. I entered the Client ID, Client Secret and postal code. I have no idea where to find the USPS Account Number or what Account Type to use.")*

FYI - testing it on a production site now.

Note that with the "USPS Ground Advantage", the Plugin name gets added to it.

So in the end, we get "USPS USPS Ground Advantage" (with USPS twice).

I tried changing it via Joomla Language Overrides, but it only changes it on the plugin admin side; it still shows up in the cart that way. I couldn't find it in the Configuration -&gt; Language file either. Is there any place to change that?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvOTA5Njc3LXVzcHMyLW5vdC1wcm92aWRpbmctcmF0ZXM/c3RhcnQ9NjAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14296
-
-

9 months 3 weeks ago [\#370016](#370016) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[USPS2 Not Providing Rates](/forum/28-shipping-methods/909677-usps2-not-providing-rates?start=60#370016 "-- url of the page with the problem -- :   grandprix-software-central.com/index.php/shopping  -- HikaShop version -- : 6.1.0 -- Joomla version -- : 5.3.3 -- PHP version -- : 8.2.29 -- Browser(s) name and version -- : Firefox 142.0.1 -- Error-message(debug-mod must be tuned on) -- : USPS 2: Failed to retrieve prices. &#91;&#93; One or more required field(s) are missing from the request, /prices/v3/base-rates-list/search. - -  When trying to migrate from the USPS plugin, which I have used for many years now, to the new USPS2 plugin, I am getting these errors. These only show up if I deactivate the current USPS plugin.  There is no help documentation for the plugin, which is a disappointment, after spending 40 euros on this when the old one was free. I entered the Client ID, Client Secret and postal code. I have no idea where to find the USPS Account Number or what Account Type to use.")*

Hi,

Thanks for the feedback! Glad to hear v1.5.3 fixed the main issue with rates not showing.

Version 1.5.4 Release:
I've just released version 1.5.4 which fixes an issue reported earlier where the shipping service names (Priority Mail, Ground Advantage, etc.) were not displaying on fresh installs - only the raw translation keys were shown. This was due to the language file being loaded too late during plugin initialization.
It also fixes the issue with the USPS text being doubled in some cases.

Regarding First-Class Mail not showing rate indicators: This is by design and there's no need to change it. First-Class Mail uses a simpler pricing structure - there's just one rate based on weight and whether it's a Letter or Flat.

Unlike Priority Mail which has multiple packaging options (Flat Rate Envelope, Small Box, Single Piece, etc.) that customers can choose from at different prices, First-Class letters don't have such variations. That's why USPS doesn't provide rate indicator codes for them in their Letter API response.

So "First-Class Mail $1.03" is the complete and accurate rate - there's no missing information. Adding "[SP] Single Piece" would actually be misleading since USPS doesn't return or even support that distinction for First-Class letters.

Please update to version 1.5.4 and let me know how your testing goes!

The following user(s) said Thank You: [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvOTA5Njc3LXVzcHMyLW5vdC1wcm92aWRpbmctcmF0ZXM/c3RhcnQ9NjAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5807-jazzmang "View jazzmang's Profile")
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

9 months 3 weeks ago [\#370023](#370023) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[USPS2 Not Providing Rates](/forum/28-shipping-methods/909677-usps2-not-providing-rates?start=60#370023 "-- url of the page with the problem -- :   grandprix-software-central.com/index.php/shopping  -- HikaShop version -- : 6.1.0 -- Joomla version -- : 5.3.3 -- PHP version -- : 8.2.29 -- Browser(s) name and version -- : Firefox 142.0.1 -- Error-message(debug-mod must be tuned on) -- : USPS 2: Failed to retrieve prices. &#91;&#93; One or more required field(s) are missing from the request, /prices/v3/base-rates-list/search. - -  When trying to migrate from the USPS plugin, which I have used for many years now, to the new USPS2 plugin, I am getting these errors. These only show up if I deactivate the current USPS plugin.  There is no help documentation for the plugin, which is a disappointment, after spending 40 euros on this when the old one was free. I entered the Client ID, Client Secret and postal code. I have no idea where to find the USPS Account Number or what Account Type to use.")*

Quick check of v1.5.4 seems good.

One thing that would be nice is to have a &lt;span&gt;&lt;/span&gt;around the Rate Indicator Restriction in the checkout's results.

Some of them get quite long and wrap awkwardly, especially for mobile.

Being able to control the presentation in the checkout would help.

I'm not sure if this can be done in checkout/show_block_shipping.php.
I see "&lt;?php echo $shipping-&gt;shipping_name;?&gt;" but not sure if there's a way to break shipping_name apart.

I see front-end template options for plugins like hikashopshipping_ups, but nothing for the USPS2 plugin.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvOTA5Njc3LXVzcHMyLW5vdC1wcm92aWRpbmctcmF0ZXM/c3RhcnQ9NjAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5807-jazzmang "View jazzmang's Profile")
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

9 months 3 weeks ago -  9 months 3 weeks ago [\#370031](#370031) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[USPS2 Not Providing Rates](/forum/28-shipping-methods/909677-usps2-not-providing-rates?start=60#370031 "-- url of the page with the problem -- :   grandprix-software-central.com/index.php/shopping  -- HikaShop version -- : 6.1.0 -- Joomla version -- : 5.3.3 -- PHP version -- : 8.2.29 -- Browser(s) name and version -- : Firefox 142.0.1 -- Error-message(debug-mod must be tuned on) -- : USPS 2: Failed to retrieve prices. &#91;&#93; One or more required field(s) are missing from the request, /prices/v3/base-rates-list/search. - -  When trying to migrate from the USPS plugin, which I have used for many years now, to the new USPS2 plugin, I am getting these errors. These only show up if I deactivate the current USPS plugin.  There is no help documentation for the plugin, which is a disappointment, after spending 40 euros on this when the old one was free. I entered the Client ID, Client Secret and postal code. I have no idea where to find the USPS Account Number or what Account Type to use.")*

So this is odd.

In v1.5.4, the double USPS in Ground Advantage is gone.

But on a different site with a fresh v1.5.4 install, I'm still seeing the double.

[ ![Clipboard03.png](/forum/attachment/61139) ](/forum/attachment/61139 "Clipboard03.png")

Tried adding an override via Joomla language, but still not getting the double.

> Never mind, figured out what you were doing. If I just had the shipping method = "USPS" it removes it.

So far, everything else seems to be working.

- [ ![Clipboard03.png](/forum/attachment/61139) ](/forum/attachment/61139 "Clipboard03.png") [ ](/forum/attachment/61139?download=1 "Clipboard03.png")

Last edit: 9 months 3 weeks ago by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile"). Reason: Update

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvOTA5Njc3LXVzcHMyLW5vdC1wcm92aWRpbmctcmF0ZXM/c3RhcnQ9NjAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5807-jazzmang "View jazzmang's Profile")
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

9 months 3 weeks ago -  9 months 3 weeks ago [\#370059](#370059) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[USPS2 Not Providing Rates](/forum/28-shipping-methods/909677-usps2-not-providing-rates?start=60#370059 "-- url of the page with the problem -- :   grandprix-software-central.com/index.php/shopping  -- HikaShop version -- : 6.1.0 -- Joomla version -- : 5.3.3 -- PHP version -- : 8.2.29 -- Browser(s) name and version -- : Firefox 142.0.1 -- Error-message(debug-mod must be tuned on) -- : USPS 2: Failed to retrieve prices. &#91;&#93; One or more required field(s) are missing from the request, /prices/v3/base-rates-list/search. - -  When trying to migrate from the USPS plugin, which I have used for many years now, to the new USPS2 plugin, I am getting these errors. These only show up if I deactivate the current USPS plugin.  There is no help documentation for the plugin, which is a disappointment, after spending 40 euros on this when the old one was free. I entered the Client ID, Client Secret and postal code. I have no idea where to find the USPS Account Number or what Account Type to use.")*

A few additional bugs after orders started coming in, which we found when dealing with missing language text.

First is in the administration's Orders area, as just the constant name, not the shipping method value:
[ ![Clipboard01&#95;2026-01-19.png](/forum/attachment/61151) ](/forum/attachment/61151 "...2026-01-19.png")

On the invoice (for printing) for the order, it is blank instead of either a constant name or a value:
[ ![Clipboard02.png](/forum/attachment/61152) ](/forum/attachment/61152 "Clipboard02.png")

And on the emails going out, it just has the constant name again:
[ ![Clipboard03&#95;2026-01-19.png](/forum/attachment/61153) ](/forum/attachment/61153 "...2026-01-19.png")

This seems to be mainly with anything OTHER than USPS - First-Class Mail, which shows fine in all 3 locations if that is the method.

- [ ![Clipboard01&#95;2026-01-19.png](/forum/attachment/61151) ](/forum/attachment/61151 "...2026-01-19.png") [ ](/forum/attachment/61151?download=1 "...2026-01-19.png")
- [ ![Clipboard02.png](/forum/attachment/61152) ](/forum/attachment/61152 "Clipboard02.png") [ ](/forum/attachment/61152?download=1 "Clipboard02.png")
- [ ![Clipboard03&#95;2026-01-19.png](/forum/attachment/61153) ](/forum/attachment/61153 "...2026-01-19.png") [ ](/forum/attachment/61153?download=1 "...2026-01-19.png")

Last edit: 9 months 3 weeks ago by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile"). Reason: Noticed this only affects the non-first-class mail method.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvOTA5Njc3LXVzcHMyLW5vdC1wcm92aWRpbmctcmF0ZXM/c3RhcnQ9NjAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14296
-
-

9 months 3 weeks ago [\#370062](#370062) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[USPS2 Not Providing Rates](/forum/28-shipping-methods/909677-usps2-not-providing-rates?start=60#370062 "-- url of the page with the problem -- :   grandprix-software-central.com/index.php/shopping  -- HikaShop version -- : 6.1.0 -- Joomla version -- : 5.3.3 -- PHP version -- : 8.2.29 -- Browser(s) name and version -- : Firefox 142.0.1 -- Error-message(debug-mod must be tuned on) -- : USPS 2: Failed to retrieve prices. &#91;&#93; One or more required field(s) are missing from the request, /prices/v3/base-rates-list/search. - -  When trying to migrate from the USPS plugin, which I have used for many years now, to the new USPS2 plugin, I am getting these errors. These only show up if I deactivate the current USPS plugin.  There is no help documentation for the plugin, which is a disappointment, after spending 40 euros on this when the old one was free. I entered the Client ID, Client Secret and postal code. I have no idea where to find the USPS Account Number or what Account Type to use.")*

Hi,

I've released a new version of the plugin which should fix that. Please update the plugin.

The following user(s) said Thank You: [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvOTA5Njc3LXVzcHMyLW5vdC1wcm92aWRpbmctcmF0ZXM/c3RhcnQ9NjAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5807-jazzmang "View jazzmang's Profile")
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

9 months 3 weeks ago [\#370082](#370082) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[USPS2 Not Providing Rates](/forum/28-shipping-methods/909677-usps2-not-providing-rates?start=60#370082 "-- url of the page with the problem -- :   grandprix-software-central.com/index.php/shopping  -- HikaShop version -- : 6.1.0 -- Joomla version -- : 5.3.3 -- PHP version -- : 8.2.29 -- Browser(s) name and version -- : Firefox 142.0.1 -- Error-message(debug-mod must be tuned on) -- : USPS 2: Failed to retrieve prices. &#91;&#93; One or more required field(s) are missing from the request, /prices/v3/base-rates-list/search. - -  When trying to migrate from the USPS plugin, which I have used for many years now, to the new USPS2 plugin, I am getting these errors. These only show up if I deactivate the current USPS plugin.  There is no help documentation for the plugin, which is a disappointment, after spending 40 euros on this when the old one was free. I entered the Client ID, Client Secret and postal code. I have no idea where to find the USPS Account Number or what Account Type to use.")*

The orders coming in look good so far under v1.5.5.

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvOTA5Njc3LXVzcHMyLW5vdC1wcm92aWRpbmctcmF0ZXM/c3RhcnQ9NjAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5807-jazzmang "View jazzmang's Profile")
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

9 months 2 weeks ago -  9 months 2 weeks ago [\#370106](#370106) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[USPS2 Not Providing Rates](/forum/28-shipping-methods/909677-usps2-not-providing-rates?start=60#370106 "-- url of the page with the problem -- :   grandprix-software-central.com/index.php/shopping  -- HikaShop version -- : 6.1.0 -- Joomla version -- : 5.3.3 -- PHP version -- : 8.2.29 -- Browser(s) name and version -- : Firefox 142.0.1 -- Error-message(debug-mod must be tuned on) -- : USPS 2: Failed to retrieve prices. &#91;&#93; One or more required field(s) are missing from the request, /prices/v3/base-rates-list/search. - -  When trying to migrate from the USPS plugin, which I have used for many years now, to the new USPS2 plugin, I am getting these errors. These only show up if I deactivate the current USPS plugin.  There is no help documentation for the plugin, which is a disappointment, after spending 40 euros on this when the old one was free. I entered the Client ID, Client Secret and postal code. I have no idea where to find the USPS Account Number or what Account Type to use.")*

There may be an issue with the "Thickness" value being submitted for LETTERS and FLATS.

A product has 1.25 x 0.563 x 0.25 (LxWxH) at 1oz and by itself returns fine.

But when 2x+ of that same product is submitted, I can see in the debug that the thickness used by USPS is set to the width (.563) rather than the height (.25 x 2 = .5), which is really the true thickness.

Not sure if that is USPS flipping it on its own or something the plug-in does upon submission.

But that doesn't seem right and will likely cause problems.

Is the plugin taking the shortest of width or height and submitting that as thickness?

I could swear during testing last week it the product height was used for thickness, and adding them together, i.e., 0.25 x3 = 0.75

Results for 1 product (.501 oz added for packaging via plugin) where it uses .25 for the thickness.
Code:

&lt;pre&gt;Array ( [weight] =&gt; 1.501 [length] =&gt; 5 [height] =&gt; 3.5 [thickness] =&gt; 0.25 [processingCategory] =&gt; LETTERS ) &lt;/pre&gt;

Results for 2 products (.91 added for flats packaging in plugin), but now it is using the .563 for thickness (I think it should be .5) Code:

&lt;pre&gt;Array ( [weight] =&gt; 3.91 [length] =&gt; 11.5 [height] =&gt; 6 [thickness] =&gt; 0.563 [processingCategory] =&gt; FLATS ) &lt;/pre&gt;

Results for 3 products (not that thickness isn't used anymore in the results, but width of a single product is used as height now: Code:

&lt;pre&gt;Array ( [weight] =&gt; 0.244375 [length] =&gt; 1.25 [width] =&gt; 1 [height] =&gt; 0.563 [originZIPCode] =&gt; 21813 [destinationZIPCode] =&gt; 66503 [priceType] =&gt; RETAIL [mailClasses] =&gt; Array ( [0] =&gt; ALL ) ) &lt;/pre&gt;

Last edit: 9 months 2 weeks ago by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvOTA5Njc3LXVzcHMyLW5vdC1wcm92aWRpbmctcmF0ZXM/c3RhcnQ9NjAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14296
-
-

9 months 2 weeks ago [\#370107](#370107) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[USPS2 Not Providing Rates](/forum/28-shipping-methods/909677-usps2-not-providing-rates?start=60#370107 "-- url of the page with the problem -- :   grandprix-software-central.com/index.php/shopping  -- HikaShop version -- : 6.1.0 -- Joomla version -- : 5.3.3 -- PHP version -- : 8.2.29 -- Browser(s) name and version -- : Firefox 142.0.1 -- Error-message(debug-mod must be tuned on) -- : USPS 2: Failed to retrieve prices. &#91;&#93; One or more required field(s) are missing from the request, /prices/v3/base-rates-list/search. - -  When trying to migrate from the USPS plugin, which I have used for many years now, to the new USPS2 plugin, I am getting these errors. These only show up if I deactivate the current USPS plugin.  There is no help documentation for the plugin, which is a disappointment, after spending 40 euros on this when the old one was free. I entered the Client ID, Client Secret and postal code. I have no idea where to find the USPS Account Number or what Account Type to use.")*

Hi,

Thanks for reporting this issue with the thickness calculation! You were absolutely right, there was a bug affecting how thickness was calculated when stacking multiple flat items.

When you had multiple quantities of a flat item (like your 1.25" × 0.563" × 0.25" product), the plugin was incorrectly calculating the thickness for quantities of 3 or more. This happened because the core HikaShop stacking logic correctly accumulates the smallest dimension (0.25") when stacking items but the USPS2 plugin was then re-sorting all dimensions, which caused the accumulated thickness to swap positions with another dimension when it grew larger.
Version 1.5.6 now preserves the stacking dimension as "thickness" before any re-sorting occurs. This ensures that the Letter/Flats API receives the correct accumulated thickness regardless of how many items are stacked.
Please update to version 1.5.6 and the thickness will now correctly reflect the stacked height of your items:
1 item: 0.25"
2 items: 0.50"
3 items: 0.75"
4 items: 1.00"

The following user(s) said Thank You: [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvOTA5Njc3LXVzcHMyLW5vdC1wcm92aWRpbmctcmF0ZXM/c3RhcnQ9NjAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.091 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
