Post by srunyon1 » Mon Mar 01, 2010 9:30 am

I'm trying to set up USPS to go to their test server
I've changed the line.

Code: Select all

	curl_setopt($ch, CURLOPT_URL, 'production.shippingapis.com/ShippingAPI.dll?' . $request);
to read

Code: Select all

	curl_setopt($ch, CURLOPT_URL, 'testing.shippingapis.com/ShippingAPITest.dll ?' . $request);
In the first version I get
"you are not authorized for this server"
which I've read means they haven't activated your account because you haven't tested and have them turn on the account.
in the second I get.

API Authorization failure. RateV3 is not a valid API name for this protocol.

so how do you set up for testing so they can see you did some testing?

And yes I'm using my Web tools account.

Active Member

Posts

Joined
Thu Jan 28, 2010 3:03 pm

Post by rph » Mon Mar 01, 2010 12:18 pm

Well, if it says you're not authorized to use the server the first thing to check is your developer key/user ID. I'd also go over the USPS Web Development Guide.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by Qphoria » Mon Mar 01, 2010 3:41 pm

There is no "ShippingAPITest.dll"

the dll doesn't change. Only the prefix "testing" changes

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by srunyon1 » Tue Mar 02, 2010 1:49 am

thats funny they send an email with that .dll on it. I'll give it a try..

Active Member

Posts

Joined
Thu Jan 28, 2010 3:03 pm

Post by rph » Tue Mar 02, 2010 3:21 am

I just noticed you put a space in your URL.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by srunyon1 » Tue Mar 02, 2010 12:40 pm

I just decided there is no such thing as a test system for usps.. I just called them and had them turn on the production and it works.. go figure.

Active Member

Posts

Joined
Thu Jan 28, 2010 3:03 pm
Who is online

Users browsing this forum: Bing [Bot] and 1 guest