USPS pulling parcel instead of flat rate pricing for First Class Mail

  • Posts: 13
  • Thank you received: 0
7 years 2 weeks ago #282216

-- url of the page with the problem -- : outerlayerskins.com/index.php
-- HikaShop version -- : 3.2.0
-- Joomla version -- : 3.8.2
-- PHP version -- : 5.6.32
-- Browser(s) name and version -- : Google Chrome 61.0.3163.100

When I enter the shipping configuration on my USPS Plugin, I have the First Class Mail type set for "Flat," yet it continues to pull up the parcel cost, regardless. While this doesn't effect USPS Priority Mail, as it doesn't differentiate between flat and parcel, it DOES effect the price between flat and parcel for First Class Mail. I even tried creating two different USPS shipping options, one specifically for Priority Mail, and one for First Class Mail.

Here's the screen caps.

Priority Mail configuation



First class mail (by the way, flat is misspelled - just noticed that)


The product dimension screen … errors out in Priority Mail if the dimensions are not filled out, but I've tried leaving the weight out, as well as the dimensions, to no avail.


The checkout screen, showing (at the bottom) the USPS First Class Mail International Cost. By actual configuation, that cost is for a parcel, and not for a flat. It gives this price no matter what I select in the shipping configuration, or what I select for dimensions in the product page Restrictions and Dimensions section.


What am I missing here?

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
7 years 1 week ago #282250

Hello,

Note that the Hikashop USPS shipping plugin is only :
- Sending information about your order to the USPS shipping platform (including the "firstclass_mail_type" information)
- Receiving and displaying shipping rates returned from the USPS platform

So it won't be able to alter shipping rates that are returned by the USPS shipping platform.

The product dimension screen … errors out in Priority Mail if the dimensions are not filled out, but I've tried leaving the weight out, as well as the dimensions, to no avail.


Shipping platform will need product dimensions and weight to properly return rates, so you'll need to add these information through your products configuration page.

We'll probably need more information about what you need to properly help you.

Last edit: 7 years 1 week ago by Mohamed Thelji.

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

  • Posts: 13
  • Thank you received: 0
7 years 1 week ago #282277

Thanks for your response, and I get that the USPS Plugin only returns the information that the USPS site sends back.

The problem that I have is, there should only be a request going to the USPS site for a price for mailing a flat, and not for a parcel.

As it is, it appears the plugin is giving the USPS Site a request for a parcel price instead of a flat.

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

  • Posts: 12953
  • Thank you received: 1778
7 years 1 week ago #282361

Hello,

Firstly, can you download the last Hikashop version through our website and install it which will enable you to :
- Set the "Debug" option of your USPS shipping configuration page to YES
- Try it again and check in the comments of your Checkout workflow's HTML code ("f12") to directly see the code sent to the USPS platform
- Show it to us or the USPS platform so that we can check if something is not right.

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

  • Posts: 13
  • Thank you received: 0
7 years 1 week ago #282449

I apologize for the delay in replying, I had some orders come in that I had to adjust and ship that sorta took my time.

I updated to Hikashop 3.2.1, which was available when I logged into my Joomla backend. The last time I updated, it killed my shipping plugins, and nothing was able to be done, unless I retrograded the USPS shipping plugin to a release from back in December of 2015.

So, when I got that sorted back out, it pulls up this on the cart checkout page.

<tr><td>
		<input class="hikashop_checkout_shipping_radio" type="radio" name="checkout[shipping][0][id]" id="shipping_radio_1_2__0__usps_2-12" data-hk-checkout="{&quot;step&quot;:1,&quot;pos&quot;:2,&quot;block&quot;:&quot;shipping&quot;,&quot;type&quot;:&quot;usps&quot;,&quot;warehouse&quot;:0,&quot;id&quot;:&quot;2-12&quot;}" onchange="window.checkout.shippingSelected(this);" value="2-12"/>
		<label for="shipping_radio_1_2__0__usps_2-12" style="cursor:pointer;">
			<span class="hikashop_checkout_shipping_name">USPS - First Class Mail : First Class Mail (International)</span>
		</label>
		<span class="hikashop_checkout_shipping_cost"><span class="hikashop_checkout_shipping_price">$9.50</span></span>
		<span class="hikashop_checkout_shipping_images">
			<img src="/media/com_hikashop/images/shipping/usps.jpg" alt=""/>
		</span>
		<div class="hikashop_checkout_shipping_description"><p>Please note: USPS First Class Mail is not trackable.</p></div>
	</td></tr>

That's what is returned in the HTML source view. If I should be looking somewhere else, please advise and I will do that.

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

  • Posts: 12953
  • Thank you received: 1778
7 years 1 week ago #282453

Hello,

That's what is returned in the HTML source view. If I should be looking somewhere else, please advise and I will do that.

With the last USPS shipping version and the USPS debug mode enabled, you'll just have to go through your checkout workflow, check the HTML code of your page, and then you'll be able to check if you have the code of the USPS request displayed in HTML comment.

Attachments:
Last edit: 7 years 1 week ago by Mohamed Thelji.

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

  • Posts: 13
  • Thank you received: 0
7 years 1 week ago #282636

Well, that's a problem, because whenever I update to that USPS Shipping Module, it errors out in finding ANY shipping whatsoever.

All the same, I'll update it on a slow order day and tell you what happens.

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

  • Posts: 13
  • Thank you received: 0
7 years 2 days ago #282899

So, I was able to download Hikashop Starter all over, update it, and I put the USPS Shipping plugin into Debug mode, and nothing came up on the Debug screen, yet, First class mail International is still sending parcel sizes, as well as USPS Priority Mail International.

Does the USPS Shipping Plugin have a separate download area? Because I am not seeing anything come up with Debug mode enabled, and in the code, there's nothing either.

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

  • Posts: 12953
  • Thank you received: 1778
7 years 1 day ago #282937

Hello,

In that case, can you give us a temporary back-end access to your website so that we can directly test it on your end ?
You can send it through our contact form (please, don't forget to also add a link to that thread in your message):
www.hikashop.com/support/contact-us

Thank you !

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

  • Posts: 12953
  • Thank you received: 1778
7 years 12 hours ago #282988

Hello,

I just tested the account you sent us but I'm actually getting that error message : Username and password do not match or you do not have an account yet.

Could you check the account you sent us so that we can have a temporary access to your back-end ?

Thank you.

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

  • Posts: 13
  • Thank you received: 0
6 years 11 months ago #283101

I just saw that you made a Hikatest account on my site. I've gone ahead and upgraded that account to a Super User. Let me know if that works.

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

  • Posts: 13
  • Thank you received: 0
6 years 11 months ago #283103

So, I see you're encountering the "No Shipping Method" error. Any suggestions for that?

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

  • Posts: 12953
  • Thank you received: 1778
6 years 11 months ago #283217

Hello,

I just tested it on your website and the container information sent to the USPS shipping platform is correctly set to "legal flat rate envelope", so everything seems to be alright.

Attachments:
Last edit: 6 years 11 months ago by Mohamed Thelji.

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

  • Posts: 13
  • Thank you received: 0
6 years 11 months ago #283354

Sadly, it's not alright.

It's not the flat rate envelope price that is being returned, it's a parcel price. The difference is about $10+ US for Priority Mail (Envelope instead of shipping), and $6 for First Class International. It only returns incorrect information for International, as the pricing for domestic is correct. As you might imagine, that's a BIG price difference for some people, who might balk at spending $31.50 to ship something.

So regardless of what the setting is, it's sending the parcel size of 9.5x15 x.25 (because it won't assign ANY costs without physical dimensions), and not the flat rate legal envelope size.

Should I just remove the dimensions in the product? Because that usually shows an error of "No (height/width/length) listed" when I do it.

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

  • Posts: 13
  • Thank you received: 0
6 years 11 months ago #283361

I did construct a workaround. I set up a manual shipping plugin for Canada, and manually entered the general price for both First Class Mail and USPS Priority Mail, and restricted the zones to Canada, while restricting the USPS plugin to the United States.

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

  • Posts: 12953
  • Thank you received: 1778
6 years 11 months ago #283372

Hello,

The USPS shipping plugin will only :
- Send information about your customer's order to the USPS platform
- Receive available shipping services rates from the USPS platform
- Display it so that the customer can choose which service he wants

So if information about your customer's order products and shipping address are correctly sent to the USPS shipping platform, then the problem is coming from what's returned from the USPS shipping platform. The best solution will be to contact the USPS platform, but if your found a workaround it's all good.

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

Time to create page: 0.113 seconds
Powered by Kunena Forum