Shipping not calculating correctly

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

Hello,
My bad, can you test it with that USPS version (for HikaShop 2.3.3 - 2.3.4) : www.hikashop.com/forum/install-update/87...e-intern.html#178751

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

  • Posts: 146
  • Thank you received: 2
9 years 5 months ago #181501

I think that took care of the error, but still only getting Priority as option for shipping

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

  • Posts: 146
  • Thank you received: 2
9 years 5 months ago #181620

If I click off Priorty and leave no other shipping methods, then NO shipping options show up. It is as if all other USPS shipping options are available. Could a USPS WebTools User ID only have 1 shipping method allowed?

I don't think that is the reason, since I was able to choose options before, but this is driving me crazy.

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

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

Ok, can you give me a temporary access to your back-end through a private message so that I can directly test it ?
Thanks

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

  • Posts: 146
  • Thank you received: 2
9 years 5 months ago #181676

Sent. Thank you for any help you can provide.

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

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

Hello,
Can you :
- Edit the "plugins\hikashopshipping\usps\usps.php" file
- Change this line :

if(isset($decoding[$id]) && strcmp($parcel->Service_type, $decoding[$id]) == 0) {
By :
if(isset($decoding[$id]) && strcmp($parcel->Service_Type, $decoding[$id]) == 0) {

Last edit: 9 years 5 months ago by Mohamed Thelji.

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

  • Posts: 146
  • Thank you received: 2
9 years 5 months ago #182207

I apologize. Two things:

1) I cannot find this line. The closest I can find if I search for "if(isset" is
line 294: if (isset($rate->shipping_params->MACHINABLE)) {
and
line 500: if(isset($element->shipping_params->services)){

2) the line you ask me to change, looks just like the line you want me to change it to. Am I missing something?

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

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

Hello,

1. You'll find it line 352

2. My bad I just wanted you to replace "$parcel->Service_type" By "$parcel->Service_Type"

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

  • Posts: 146
  • Thank you received: 2
9 years 5 months ago #182295

I still cannot find it.

public_html/TEST_SERVER/TEST_iheartsin/plugins/hikashopshipping/usps/usps.php

Attachments:

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

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

Did you install the version that you can find through that thread : www.hikashop.com/forum/install-update/87...e-intern.html#178751
If YES, then you'll have that line on the usps.php file (I just checked it).

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

  • Posts: 146
  • Thank you received: 2
9 years 5 months ago #182413

Sorry, I was in my test no production environment.

I made the changes as requested, but still nothing.

Attachments:

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

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

Ok, Can you enable the back-end access that you gave me so that I can directly test it and upload a valid version of the USPS plugin ?
Thanks.

Last edit: 9 years 5 months ago by Mohamed Thelji.

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

  • Posts: 146
  • Thank you received: 2
9 years 5 months ago #182467

PM sent with details

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

  • Posts: 12953
  • Thank you received: 1778
9 years 4 months ago #182635

I just uploaded the modified version through your back-end and it worked fine when I tested it.

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

  • Posts: 146
  • Thank you received: 2
9 years 4 months ago #182646

Just to confirm, you were in the test environment?
www.intelligenthustler.com/TEST_SERVER/TEST_iheartsin

If so, I did not get the same result. I still only have priority.

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
9 years 4 months ago #182650

Yes, and the issue that I fixed was that international services were not displayed.

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

  • Posts: 146
  • Thank you received: 2
9 years 4 months ago #182715

Sorry, perhaps I was unclear. My issue is that I only get 1 choice for shipping. Only Priority, not first class.

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

  • Posts: 12953
  • Thank you received: 1778
9 years 4 months ago #182759

We just added some fix on the USPS shipping method but we had to add some modification through core files of Hikashop, Those fix will be available through the next hikashop version which will be released on December.
If you want a pre-version, a solution can be to directly ask it through our contact form by also adding your order number if you have a commercial version of Hikashop.

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

  • Posts: 146
  • Thank you received: 2
9 years 4 months ago #182803

Just making sure we are thinking the same thing, because this WAS working before. Not sure what I did to make it stop working, but it before multiple shipping options would show.

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

  • Posts: 12953
  • Thank you received: 1778
9 years 4 months ago #182854

it before multiple shipping options would show

Yes, and now when I test it the "Priority/first Class/.." services are correctly showing together.

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

Time to create page: 0.105 seconds
Powered by Kunena Forum