USPS2 Not Providing Rates

  • Posts: 262
  • Thank you received: 24
  • Hikamarket Multivendor Hikashop Business Hikashop Essential
2 days 12 hours ago #368504

Odd, I wonder why I cannot get any rates to return when just the weight alone is used with the same settings you are.

And once I disable all the other shipping methods, I get the following error on an item without dimensions:



It's really a pain to test this when I cannot do it when any other USPS payment methods are enabled.
It makes the process particularly challenging on a live site.

Attachments:

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

  • Posts: 116
  • Thank you received: 6
  • Hikaserial Standard Hikashop Business
2 days 12 hours ago #368505

All of our products have dimensions entered, so we haven't run into that issue.

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

  • Posts: 262
  • Thank you received: 24
  • Hikamarket Multivendor Hikashop Business Hikashop Essential
2 days 11 hours ago #368508

gpraceman wrote: All of our products have dimensions entered, so we haven't run into that issue.


Sorry, I misunderstood. So, it is a dimension issue, and weight-based only should work just as before, but it needs a way to do it.

It isn't something we can discuss with USPS; it is more about understanding how the chosen API works and providing the correct information.

As I mentioned, we basically need the "Use product dimension" on/off switch, similar to the one in the old USPS plugin. How that is implemented, I cannot say. I provided a few suggestions, but there may be a better, less crude approach.

It is not just one of the clients' sites that is impacted, but several that use weight-based shipping with USPS. They will all be in a similar situation.

To HikaShop's credit, they do work on these paid plugins faster than on non-paid ones, I feel.

At least there was plenty of lead time to work and test this out before the end of the old API.

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

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
2 days 1 hour ago #368507

Hi,

You need to provide dimensions in your products. The previous API of USPS didn't require dimensions, but the new one requires it. So we couldn't add a similar setting in the new plugin due to USPS, not a limitation of what we did in the plugin.

Last edit: 2 days 1 hour ago by nicolas.

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

  • Posts: 262
  • Thank you received: 24
  • Hikamarket Multivendor Hikashop Business Hikashop Essential
1 day 17 hours ago #368518

Okay, but can we also have an option to set a "default" in the plugin if none is set?

Some methods are set up to handle products literally the size of a stamp/sticker that fits in a regular envelope, such as those measuring 0.1 oz. or less, so not even a measurable height.

Otherwise, we're talking about hundreds, if not a few thousand, products without weight across multiple client sites.

It has never been required before in HikaShop or USPS, and clients will not be happy with that.

As I pointed out, USPS's own rate calculation allows it, so how it is done with the API isn't a restriction.
It just allows a method to trick it, just like they are.

I'm not saying it's perfect, and clients probably should enter dimensions long term, but I also see cases where it isn't going to be practical

Additionally, it will run the risk of angering some of our Joomla/HikaShop clients/subscribers who have been using this for a long time.

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

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
1 day 13 hours ago #368522

Hi,

If all the products have the same dimensions and weight, you can easily enter it in all the products at once with a mass action :
www.hikashop.com/support/documentation/167-massaction-form.html
You can use the action "update the values" several times, select the column for the weight, height, width and length, one for each action, and the mode "float" and the value you want.

The plugin will automatically increase the dimensions and weight to the minimum allowed if it is to small. So, for example, if you have a height of 0.0001 inches in your products, whether you have 1 product or a thousand in the cart, the total height provided to USPS will be 1 inch because otherwise the API would refuse the package.

Since the weight and dimensions can be added to all the products at once relatively easily with a mass action, I don't see why your clients won't be happy ? It's just a matter of a few minutes.

Now, you're also saying that you see cases where it isn't going to be practical. Could you develop on this ? I'm not against adding new options if it's useful, but I don't want to add options just for the sake of it either when a mass action can relatively easily remedy the problem.

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

  • Posts: 262
  • Thank you received: 24
  • Hikamarket Multivendor Hikashop Business Hikashop Essential
1 day 11 hours ago #368524

I don't think a mass action to set all unset LWH is a good idea.

I provided an example of a set of products, but they don't represent the entire spectrum.

The products range from a stamp/sticker under .99oz up to large objects weighing 30 to 40 lbs with varying dimensions.

Some fit in a box, some don't.

Additionally, we need to account for orders that include both small items (which ship individually in a letter envelope) and larger items that are combined under one shipping method into a single package.

That's why we have multiple shipping methods set up with USPS, based on both weight and USPS service.
Some are packages, some are envelopes, some combine them, while others don't.

It is based on weight, however, rather than dimensions, for the most part.
We don't have a single method that just covers "packages" with first-class/ground.
Some use letters/machine-readable (letters), while others use packages/parcels.

I'll have to experiment with setting WLH to something like 0.1 x 0.1 x 0.1 and see what happens.
However, I can see where that might cause issues with certain products/shipping method calculations.

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

  • Posts: 262
  • Thank you received: 24
  • Hikamarket Multivendor Hikashop Business Hikashop Essential
1 day 10 hours ago #368525

Dimension aside, I think I see another issue (or it could be why there is some confusion).

I'm unable to find a way to obtain pricing for a First-Class Mail Stamped Letter (regular letter envelope) using this new plugin.

We can use the old plugin, and you can still access it through the USPS Rate Lookup on their website.
We used the First Class Mail type Letter and Variable container under the old plugin.

FYI, First Class Mail is not the same as Ground Advantage. That's a package, and we need the letter.

I know I'm in the range of the First-Class Mail letter (LWH) and weight, but I cannot find any way to get it under the new plugin.

This appears to be under a different section in the API than previously referenced although I'm not sure why:
developers.usps.com/domesticpricesv3#tag...-letter-rates-search

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

Time to create page: 0.075 seconds
Powered by Kunena Forum