AbanteCart Community

Shopping Cart Operations => Support => Extension Support => Topic started by: DavidLIR on November 15, 2013, 05:20:58 PM

Title: My USPS Extension is not Working
Post by: DavidLIR on November 15, 2013, 05:20:58 PM
I am looking for help to get the USPS extension to work properly...I have set it up and I am getting an error message ...see below, Please Help:


Error : default_usps processing error. XML Syntax Error: Please check the XML request to see if it can be parsed. in ............................................loveisreal-believe.com/store/extensions/default_usps/storefront/model/extension/default_usps.php on line 328


I have set up account with USPS and filled out the extension forms....I do not know where to find the listed location or how to fix it.  I will appreciate any help...Thank You

David
Title: Re: My USPS Extension is not Working
Post by: abolabo on November 26, 2013, 03:21:55 AM
hello.

This text is error from usps API. To recognize a cause i need to look on xml-request from your abantecart.
Can you paste this
Quote$this->log->write($request);
in line 95 of your model loveisreal-believe.com/store/extensions/default_usps/storefront/model/extension/default_usps.php
and repeat checkout. It will writes request into your error log.
Then post output here.
Title: Re: My USPS Extension is not Working
Post by: DavidLIR on November 26, 2013, 06:07:46 PM
Abolado,

Here is the error from the log...
I have checked the login and password repeatedly and they are correct...I logged into my USPS site  to check the login id and password....unless they are asking for some other id and p/w?

Thanks again any help would be great, Thanks.

Error...
2013-11-26 22:32:25 - App Error:  AbanteCart core v.1.1.7 Error : default_usps processing error. Authorization failure.  Perhaps username and/or password is incorrect. in /home/thea9072/public_html/loveisreal-believe.com/store/extensions/default_usps/storefront/model/extension/default_usps.php on line 328

David
Title: Re: My USPS Extension is not Working
Post by: mikeb89gt on January 04, 2014, 10:42:40 AM
Was this problem ever resolved? I am receiving the same exact error. Username and password is correct. Workaround?
Title: Re: My USPS Extension is not Working
Post by: mikeb89gt on January 04, 2014, 10:48:36 AM
THis is the error I am receiving when I try to check out:

Error : default_usps processing error. XML Syntax Error: Please check the XML request to see if it can be parsed. in /home/content/38/11947038/html/extensions/default_usps/storefront/model/extension/default_usps.php on line 328
Title: Re: My USPS Extension is not Working
Post by: DavidLIR on January 04, 2014, 04:43:04 PM
Mike...,
I had left this for more important issues...still not ressolved...I recall something similar to that...I also had received a message saying the login id and password may not be correct.

Title: USPS still not working
Post by: mikeb89gt on January 11, 2014, 01:02:46 PM
Still getting the error,  error Processing USPS. No clue what the problem is, the error or log files arent very helpful? Any ideas what is happening and why I keep getting this error? I really need to get this site up and going but I keep running into problem after problem.
Title: Re: USPS still not working
Post by: mikeb89gt on January 11, 2014, 01:14:33 PM
From looking at the email the USPS send when you sign up for the api username and password, it looks like initially they only set it you up on the testing server? Could this be why I continue to get these errors??
Title: Re: USPS still not working
Post by: mikeb89gt on January 13, 2014, 12:46:22 PM
anyone???
Title: Re: USPS still not working
Post by: abolabo on January 13, 2014, 04:39:15 PM
i'll check this a bit later and will let you know.
Title: Re: USPS still not working
Post by: mikeb89gt on January 15, 2014, 03:31:35 PM
Ok this is seriously getting ridiculous. Seems that once I called the usps and had them take me off the testing server and add me to production I got rid of the initial error I was getting but now Im getting a new one!

Error: No Shipping options are available. Please contact us for assistance!

I have selected all available option in the admin area and there is no reason I should still be getting an error.
Title: Re: USPS still not working
Post by: mikeb89gt on January 16, 2014, 09:10:31 AM
Ok the new default_usps.php seemed to have fixed it, I am now getting my shipping options. New problem, with the new file you gave me my payment options disappeared now. I am also getting this text.....Priority Mail 3-Day<sup>™</sup>. where is the <sup> tags coming from?
Title: Re: USPS still not working
Post by: mikeb89gt on January 16, 2014, 09:17:38 AM
Ok scratch that, got the payments to show back up again. Only problem left is the <sup>tags. Im assuming they are in a tpl file somewhere?
Title: Re: My USPS Extension is not Working
Post by: mikeb89gt on January 16, 2014, 09:45:17 AM
Ok we are getting close, still cant figure out how to get rid of the <sup> tags showing up on the checkout pages......

Priority Mail 1-Day<sup>™</sup>:    This is how its showing up on my page
Title: Re: My USPS Extension is not Working
Post by: mikeb89gt on January 16, 2014, 10:11:25 AM
Ok new problem....I select a product and go to check out im getting an error......

The webpage at http://www.mywebsite.com/index.php?rt=checkout/guest_step_2 has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem


This just started happening, not sure if it was the new file?
Title: Re: My USPS Extension is not Working
Post by: mikeb89gt on January 16, 2014, 10:18:46 AM
Ive tried clearing my cache as well as cookies and it still happens. Any ideas?
Title: Re: My USPS Extension is not Working
Post by: abolabo on January 16, 2014, 10:20:52 AM
Quote from: mikeb89gt on January 16, 2014, 10:11:25 AM
Ok new problem....I select a product and go to check out im getting an error......

The webpage at http://www.mywebsite.com/index.php?rt=checkout/guest_step_2 has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem


This just started happening, not sure if it was the new file?

we fixed an issue with redirects in 1.1.8. but i can to check again. i need what shippings and payment extensions are enabled. Can you give url on your admin side via PM to look on it?
Title: Re: My USPS Extension is not Working
Post by: mikeb89gt on January 16, 2014, 10:22:57 AM
Currently I have paypal and usps, that is all
Title: Re: My USPS Extension is not Working
Post by: mikeb89gt on January 16, 2014, 10:29:44 AM
PM sent
Title: Re: My USPS Extension is not Working
Post by: abolabo on January 16, 2014, 10:57:49 AM
ok. replace file public_html/extensions/default_usps/storefront/model/extension/default_usps.php
Title: Re: My USPS Extension is not Working
Post by: mikeb89gt on January 16, 2014, 11:07:49 AM
Still getting the redirect error
Title: Re: My USPS Extension is not Working
Post by: abolabo on January 16, 2014, 11:59:18 AM
you cannot to use "AutoSelect" for USPS. it have multiple delivery options.
check it.
Title: Re: My USPS Extension is not Working
Post by: mikeb89gt on January 16, 2014, 12:01:29 PM
But I only have one option available? As long as it works Im happy, thanks for the time you put into this.
Title: Re: My USPS Extension is not Working
Post by: abolabo on January 16, 2014, 12:05:55 PM
hm.. question is still open why you have redirect but i'm not on my localhost :-\
Title: Re: My USPS Extension is not Working
Post by: mikeb89gt on January 16, 2014, 12:09:02 PM
not sure but I had several people try with the same results, whatever changes you made seemed to fix the problem, only thing different is they need to choose shipping and payment options. They shouldnt need to do that since there is only one shipping option and one payment option, but for the time being I will take it.
Title: Re: My USPS Extension is not Working
Post by: abolabo on January 16, 2014, 12:19:34 PM
Quote from: mikeb89gt on January 16, 2014, 12:09:02 PM
not sure but I had several people try with the same results, whatever changes you made seemed to fix the problem, only thing different is they need to choose shipping and payment options. They shouldnt need to do that since there is only one shipping option and one payment option, but for the time being I will take it.
i noted that if you give wrong address for shipping abantecart shows that you have no any shipping methods.
You tested with correct address?
Title: Re: My USPS Extension is not Working
Post by: pottorf1 on March 05, 2014, 03:26:35 PM
This may belong to another thread, if so, please excuse the interruption. I am getting an error regarding USPS as well:
Error : default_usps processing error. Username exceeds maximum length. in /home/******/public_html/dir/extensions/default_usps/storefront/model/extension/default_usps.php on line 328
(I know the directory structure is odd, but I didn't set it up)
Can yo advise what the maximum length is or if there is a patch to correct?
Title: Re: My USPS Extension is not Working
Post by: llegrand on March 05, 2014, 11:20:32 PM
https://www.usps.com/business/web-tools-apis/welcome.htm (https://www.usps.com/business/web-tools-apis/welcome.htm)

Here's the link to the APIs at the USPS.  They made have some updates that were effective end of January.

Suspect the extension needs an update for the new versions from USPS.
Title: Re: My USPS Extension is not Working
Post by: gordontaylor on March 06, 2014, 07:55:55 PM
I found another thread on this subject as well, now they say all is working fine. Maybe the USPS fixed something?