Questions tagged [usps]

The United States Postal Service provides a web API for accessing postal data such as zip codes and rates.

The United States Postal Service provides a web API for accessing postal data such as zip codes and rates.

See https://www.usps.com/business/webtools.htm

167 questions
11
votes
3 answers

USPS : API Authorization failure

Why won't the rate work with USPS? I'm using ratev4 and I get an error: Error: API Authorization failure. RateV4 is not a valid API name for this protocol. UspsCom::DoAuth Here is my code:
Exploit
  • 6,278
  • 19
  • 70
  • 103
9
votes
2 answers

Passing USPS eVSCertifyRequest error as MasterMID not found in database

Using eVSCertifyRequest to create the USPS label and I am passing parameter as follows: https://secure.shippingapis.com/ShippingAPI.dll?API=eVSCertify&XML=
user2977985
9
votes
3 answers

USPS API returning 80040B19 error code and Account is in Production

so my issue is according to the documentation (wich is pretty slim and not the greatest) the xml i have is everything that is required, but im getting this error code back
Msquared86
  • 325
  • 1
  • 3
  • 12
8
votes
3 answers

Response from USPS Rate Calculator

I need to get shipping rates from USPS. I have signed up with them, got myself a user id and trying to use the sample request XML as shown on page - https://www.usps.com/webtools/htm/Rate-Calculators-v1-3.htm , but keeping getting following error…
Upendra
  • 716
  • 9
  • 17
7
votes
2 answers

get 9 digit zip code from 5 digit zip code, programmatic, api

I have 5 digit zip codes, these are retrieved from Google Maps Api. My dilemma is that I have to connect to a remote database which also contains addresses. If the address does not exist in that database, I have to write it, if it does exist then I…
CQM
  • 42,592
  • 75
  • 224
  • 366
6
votes
3 answers

Obtaining USPS orders tracking status with PHP

Error is thrown when trying to retrieve the status of a USPS order using the USPS Tracking API. However, when running the code I built based on the USPS manual, I am getting the following error: "80040B19XML Syntax Error: Please check the XML…
user2509541
  • 268
  • 4
  • 14
6
votes
1 answer

USPS shipping rate API limitations

I am working on showing the shipping rates on the product pages, like in Amazon and eBay. However, because I'll be calling the API a lot more then the usual cart page, I am wondering if there are any limits to USPS API that can prevent me from using…
bymannan
  • 1,353
  • 2
  • 13
  • 23
5
votes
1 answer

Issue as The element 'ImageParameters' cannot contain child element 'ImageParameter'

I am trying to generating the usps label with 4x6 but I am facing this issue. Can any one help me out for generating 4x6Label. Also I tried changing the version from DeliveryConfirmationV3 to DeliveryConfirmationV4 but still it is not generating…
user2977985
5
votes
1 answer

Authorization failure in USPS Address verification API

Just i have a Registered with USPS which provides the US Address Validation API. I am using the following code to get the XML Response. But, unfortunately the Response says: Authorization Failure User 'xxxxxxxxx' is not authorized to use API…
SHEKHAR SHETE
  • 5,964
  • 15
  • 85
  • 143
4
votes
4 answers

How to generate Intelligent Mail® Barcode (OneCode) via PHP

I have a request to provide CASS certificated addresses on a PDF document. This involves using a certified mailing address, and needs to be printed using the barcode. How can I generate such a barcode? Might exists PHP libraries that already does…
Pentium10
  • 204,586
  • 122
  • 423
  • 502
4
votes
2 answers

Why isn't this valid USPS tracking number validating according to their spec?

I'm writing a gem to detect tracking numbers (called tracking_number, natch). It searches text for valid tracking number formats, and then runs those formats through the checksum calculation as specified in each respective service's spec to…
Jeff Keen
  • 137
  • 2
  • 8
4
votes
1 answer

Error in WooCommerce USPS Shipping Plugin

I am getting following error in WooCommerce USPS Shipping Plugin:" USPS REQUEST FAILEDcURL error 5: Could not resolve proxy: http_proxy Can someone please help with on how to resolve this? I googled it but could not find anything related.
meetpd
  • 9,150
  • 21
  • 71
  • 119
4
votes
1 answer

Free Address Verification/Standardization

USPS webtools is expensive, and Google Maps doesn't have certain addresses. Are there any free or open-source solutions?
ma11hew28
  • 121,420
  • 116
  • 450
  • 651
4
votes
1 answer

Decoding USPS PDF417 2D Barcode?

I have Googled a lot and failed to find the decoding algorithm for the PDF417 barcode used by United States Postal Service. I want to fetch recipient and sender information with tracking number out of it. I have successfully decoded the FedEx…
Hemendra Sharma
  • 1,063
  • 9
  • 21
4
votes
1 answer

Return multiple city, state suggestions from one zipcode search

I'd like to use an API service of some sort to take in a zipcode and return any cities that match this zipcode. USPS manual lookup on their site does this, and Crate and Barrel does this in their checkout. It seems like the zipcode API from USPS is…
xEmptyCanx
  • 528
  • 3
  • 10
  • 22
1
2 3
11 12