Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

USPS contribution - flat rate boxes etc


arielnh56

Recommended Posts

I couldn't find a contribution that properly supported the new Priority Mail Flat Rate Boxes or the Global Priority Mail Flat Rate Envelopes - so I dug in and wrote it myself.

 

It is named "USPS V2 API" as it appears to be (and I may be wrong abot this) the first contribution to support this API. It supports all mail types listed in the API.

 

It requires the domxl module to be loaded into PHP. I just find it easier to parse XML with an XML parser. I have largely rewritten the response parsing code for domestic and international. International now displays delivery time.

 

It is not vulnerable to USPS making random changes to the text names of the services returned in the response.

 

It does not have insurance, machinability or "methods" functionality, though you can limit methods by commenting out the ones you don't want.

 

This is my first OSC contribution. Comments and suggestions welcomed.

 

Alastair Young

Link to comment
Share on other sites

I suggest posting an announcement in the contribution announcements section and also add a support thread in that section. Include a link to your contribution.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...