- Posts: 16
- Thank you received: 3
USPS 500 error
Apparently USPS had done something to their API which Hikashop will have to change in the plugin.
In the meantime, I have reverted to a more complicated manual shipping setup I used before enabling the USPS plugin.
Hopefully this can be resolved soon.
Please Log in or Create an account to join the conversation.
By giving us useful information for debugging.
Like explain in the post 131863 : www.hikashop.com/forum/shipping-methods/...00-error.html#131863
We do not have USPS account so we can't test. So we are like blind people.
You can also follow the instruction that Nicolas gave you by mails.
And you know, we are also closed today
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
I cannot contact usps today, so can you tell me how you managed that:
"In the meantime, I have reverted to a more complicated manual shipping setup I used before enabling the USPS plugin."
Thank you
Please Log in or Create an account to join the conversation.
- Posts: 16
- Thank you received: 3
Please Log in or Create an account to join the conversation.
I hope that Ikashop will find a solution very soon for this excellent plugin...
Please Log in or Create an account to join the conversation.
- Posts: 16
- Thank you received: 3
Edit:::
Sorry, I should have clarified. I was using the code requested in posting:
www.hikashop.com/forum/shipping-methods/...rt=0&start=20#131863
I just get a blank screen, no additional information in server logs, php error logs or displayed on the screen.
Please Log in or Create an account to join the conversation.
Thanks for the information.
Can you just try to use the "view page source code" because it is possible that USPS return some XML which is not understandable for the browser so it does not display it. I should have use the "htmlentities" function in order to transform all the content into a readable HTML text..
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- Posts: 16
- Thank you received: 3
HTTP/1.1 500 Error
X-Backside-Transport: FAIL FAIL
Content-Type: text/xml
Connection: close
Please Log in or Create an account to join the conversation.
Interesting !
Can you modify the plugin and change the $req value by:
Just an idea like that
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- Posts: 16
- Thank you received: 3
Please Log in or Create an account to join the conversation.
So I think that if you remove the "die", it should work now.. Right ?
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- Posts: 16
- Thank you received: 3
Please Log in or Create an account to join the conversation.
Any fix?
I am in the trouble about that...
Please Log in or Create an account to join the conversation.
Mhmm, I guess that the truncated return is not read correctly by the plugin.
I think that USPS changed their servers which now only manage HTTP/1.1
The plugin developed by an external developer/company (who gave us the plugin for free) does not handle the connection like we did generally.
Well, I rewrite the function "doUPS" in order to use cURL and not a raw socket. It is quite better to respect standards and have a right processed result.
Please test this new function, I hope that it will return a better result.
@Julian56 : I said you a high number of time that if you want to help you can make some tests, follow this thread and like the other people, try some things to solve the problem. But asking like you did, will not help anything.
We know that it is a big problem but.. sending us a lot of messages without any useful information does not help.
I prefer to be direct and honest. I hope that I am clear enough and that you understand that we also want to solve this problem as fast as possible.
At the moment that we will have a news, you will know because we concentrated the USPS problem on this single thread.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
I am not familiar with the way to communicate with forums and I didn't find the way to delete few of my posts... I will be more attentive
Please Log in or Create an account to join the conversation.
They are working hard to come up with the coding to give us to fix out plugins but can't give me a timeframe on that. A release note will be available on the USPS.com web tools page once they have the code for us.
Please Log in or Create an account to join the conversation.
- Posts: 16
- Thank you received: 3
Might I suggest that until you can make a new release, you upload a revised 'usps.php' file. That will spare uses the concern of which chunk of code to replace.
I'm glad to see Hikashop include the plugin for USPS shipping with the core program now. I did not realize you had no access to developer resources. Since USPS is a significant and critical shipping option for United States customers like myself ( and Julian56
Thanks for your assistance with this.
Please Log in or Create an account to join the conversation.
Thank you again for your hard work and sorry for the stress!!!
Please Log in or Create an account to join the conversation.
Thanks!!
Please Log in or Create an account to join the conversation.
joanne721
upload the file attached too directory: plugins/hikashopshipping/usps/
Please log in or register to see it.
rename attached file to usps.php
Please Log in or Create an account to join the conversation.