USPS API Updates for July
- gjaros
- AbleCommerce Partner
- Posts: 1717
- Joined: Tue Feb 24, 2004 2:20 pm
- Location: Illinois
- Contact:
USPS API Updates for July
I just want to confirm that the updates to the USPS Web Tools API coming out on July 28th won't affect any sites (5.5 through Gold R5). Thanks.
https://www.usps.com/business/web-tools ... elcome.htm
https://www.usps.com/business/web-tools ... elcome.htm
Re: USPS API Updates for July
Yes, I got an email on that yesterday and I also want to make sure that USPS will keep working for 7.0.7 as well.
Able Customer Since 1999 Currently Running on GOLD R12 SR1 and PCI Certified.
- Shopping Cart Admin
- AbleCommerce Admin
- Posts: 3055
- Joined: Mon Dec 01, 2003 8:41 pm
- Location: Vancouver, WA
- Contact:
Re: USPS API Updates for July
I hope it's not a big change with the short notice they have given everyone.
Re: USPS API Updates for July
I've alerted the dev team. There will likely be changes, but the last time we went through this, a CSV file was put into place so that future changes would be easier.
Thanks for the notice!
Katie
Thanks for the notice!
Katie
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
- Shopping Cart Admin
- AbleCommerce Admin
- Posts: 3055
- Joined: Mon Dec 01, 2003 8:41 pm
- Location: Vancouver, WA
- Contact:
Re: USPS API Updates for July
This appears to be the only change that matters but development will have to look into it on a version by version basis.
ExpressMailIntl, PriorityMailIntl, FirstClassMailIntl
- ToName (legacy) will no longer be an acceptable request data element
- ToFirstName and ToLastName must be used in place of ToName
- ToFirstName and ToLastName or ToFirm are required
ExpressMailIntl, PriorityMailIntl, FirstClassMailIntl
- ToName (legacy) will no longer be an acceptable request data element
- ToFirstName and ToLastName must be used in place of ToName
- ToFirstName and ToLastName or ToFirm are required
- NC Software
- AbleCommerce Partner
- Posts: 4620
- Joined: Mon Sep 13, 2004 6:06 pm
- Contact:
Re: USPS API Updates for July
Sure would be nice if AC hooked up a web service and a message would appear in the Admin "An update to USPS is available, would you like to install now?" - automate this, use the beauty of web services and prevent your customers from touching any files.
Neal Culiner
NC Software, Inc.
NC Software, Inc.
- Shopping Cart Admin
- AbleCommerce Admin
- Posts: 3055
- Joined: Mon Dec 01, 2003 8:41 pm
- Location: Vancouver, WA
- Contact:
Re: USPS API Updates for July
Hello All,
We're sorry for the delay on these patches, USPS didn't give us much notice and gave us less than useful documentation on the new changes. Most of what we've learned is by trial and error with their new API changes.
Here's the update for GOLD R3,R4 and R5.
http://help.ablecommerce.com/index.htm# ... y_2013.htm
7.0.7 is in progress and should be available in the next 24 hours. We are not certain at this point just how far back we'll be able to patch in the older releases of 7.0.x.
We're sorry for the delay on these patches, USPS didn't give us much notice and gave us less than useful documentation on the new changes. Most of what we've learned is by trial and error with their new API changes.
Here's the update for GOLD R3,R4 and R5.
http://help.ablecommerce.com/index.htm# ... y_2013.htm
7.0.7 is in progress and should be available in the next 24 hours. We are not certain at this point just how far back we'll be able to patch in the older releases of 7.0.x.
Re: USPS API Updates for July
Is there any more word on this for 7.0.7? Our customers cannot select USPS, and for low value orders this causes many of them to just abandon their cart.
Rick Morris
Brewhaus (America) Inc.
Hot Sauce Depot
Brewhaus (America) Inc.
Hot Sauce Depot
Re: USPS API Updates for July
Here is the update for AbleCommerce 7 -
http://help.ablecommerce.com/index.htm# ... h_2013.htm
Please let us know if you have any trouble.
Katie
http://help.ablecommerce.com/index.htm# ... h_2013.htm
Please let us know if you have any trouble.
Katie
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
Re: USPS API Updates for July
I am having problems getting this to work. I have put all the new files out on the website and then did the steps listed but none of our USPS shipping options display.
After that did not work I tried deleting the carrier and adding the carrier back then the methods, still no luck.
Then just to make sure that I did not miss anything I tried copying the files over again and deleted/re-added the menthods, but still no USPS options.
What else can I try? FYI we are on R5 and here is what shows up the about page.
AbleCommerce for ASP.NET
VERSION: 7.0.8.5731
DATABASE: NHibernate.Dialect.MsSql2005Dialect
.NET CLR v4.0.30319.1
ASP.NET TRUST: Unrestricted
AbleMods.QuickBooks: 1.3.0.0
AblePlugins.FedEx: 7.8.4666.21205
AjaxControlToolkit: 4.1.51116.0
AntiXssLibrary: 4.0.0.0
Castle.Core: 2.5.1.0
Castle.Windsor: 2.5.1.0
CommerceBuilder: 7.85.4938.5888
CommerceBuilder.AcTestProvider: 7.85.4889.38779
CommerceBuilder.Amazon: 7.85.4890.29655
CommerceBuilder.AustraliaPost: 7.85.4889.38779
CommerceBuilder.AuthorizeNet: 7.85.4889.38777
CommerceBuilder.AvaTax: 7.85.4889.38777
CommerceBuilder.BankOfCanada: 7.85.4889.38779
CommerceBuilder.CanadaPost: 7.85.4889.38779
CommerceBuilder.CyberSource: 7.85.4889.38777
CommerceBuilder.DHLInternational: 7.85.4889.38778
CommerceBuilder.ECB: 7.85.4889.38778
CommerceBuilder.GoogleCheckout: 7.85.4890.29663
CommerceBuilder.InternetSecure: 7.85.4889.38778
CommerceBuilder.Licensing: 7.85.4895.17205
CommerceBuilder.LinkPoint: 7.85.4889.38778
CommerceBuilder.Paradata: 7.85.4889.38778
CommerceBuilder.PayFlowPro: 7.85.4889.38778
CommerceBuilder.PayJunction: 7.85.4889.38778
CommerceBuilder.PaymentechOrbital: 7.85.4889.38777
CommerceBuilder.PayPal: 7.85.4890.29660
CommerceBuilder.Protx: 7.85.4889.38777
CommerceBuilder.SkipJack: 7.85.4889.38778
CommerceBuilder.UI: 7.85.4895.17205
CommerceBuilder.UPS: 7.85.4889.38776
CommerceBuilder.USPS: 7.85.4955.21005
CommerceBuilder.Utility.Csv: 8.0.0.0
CommerceBuilder.WATax: 7.85.4889.38777
CommerceBuilder.WebApi: 7.85.4895.17206
CuteChat: 5.0.0.0
CuteChat.AppCode: 5.0.0.0
CyberSource.Base: 2.0.0.0
CyberSource.Clients: 5.0.2.0
CyberSource.Clients.XmlSerializers: 5.0.2.0
CyberSource.WSSecurity: 2.0.0.0
CybsWSSecurityIOP: 1.0.0.0
HtmlSanitizationLibrary: 4.0.0.0
ICSharpCode.SharpZipLib: 0.86.0.518
Iesi.Collections: 1.0.1.0
log4net: 1.2.10.0
Lucene.Net: 2.9.4.1
Microsoft.Data.Edm: 5.1.0.0
Microsoft.Data.OData: 5.1.0.0
Microsoft.Data.OData.Contrib: 5.1.0.0
Microsoft.Web.Infrastructure: 1.0.0.0
Microsoft.Web.Mvc: 2.0.0.0
MvcContrib: 2.0.95.0
Newtonsoft.Json: 4.5.0.0
NHibernate: 3.3.1.4001
NHibernate.ByteCode.Castle: 3.1.0.4000
NHibernate.Caches.SysCache: 3.1.0.4000
NHibernate.Search: 2.0.2.4001
NVelocity: 7.2.0.0
PaygatewayNET: 3.0.0.0
paypal_base: 4.2.1.0
SanitizerProviders: 1.0.0.0
System.Net.Http: 2.0.0.0
System.Net.Http.Formatting: 4.0.0.0
System.Spatial: 5.1.0.0
System.Web.Http: 4.0.0.0
System.Web.Http.OData: 0.2.0.0
System.Web.Http.WebHost: 4.0.0.0
System.Web.Mvc: 4.0.0.0
System.Web.Razor: 2.0.0.0
System.Web.WebPages: 2.0.0.0
System.Web.WebPages.Deployment: 2.0.0.0
System.Web.WebPages.Razor: 2.0.0.0
TimePicker: 1.0.0.0
VM.xPort.Ds2xl: 3.7.0.0
wwHoverPanel: 1.85.0.0
After that did not work I tried deleting the carrier and adding the carrier back then the methods, still no luck.
Then just to make sure that I did not miss anything I tried copying the files over again and deleted/re-added the menthods, but still no USPS options.
What else can I try? FYI we are on R5 and here is what shows up the about page.
AbleCommerce for ASP.NET
VERSION: 7.0.8.5731
DATABASE: NHibernate.Dialect.MsSql2005Dialect
.NET CLR v4.0.30319.1
ASP.NET TRUST: Unrestricted
AbleMods.QuickBooks: 1.3.0.0
AblePlugins.FedEx: 7.8.4666.21205
AjaxControlToolkit: 4.1.51116.0
AntiXssLibrary: 4.0.0.0
Castle.Core: 2.5.1.0
Castle.Windsor: 2.5.1.0
CommerceBuilder: 7.85.4938.5888
CommerceBuilder.AcTestProvider: 7.85.4889.38779
CommerceBuilder.Amazon: 7.85.4890.29655
CommerceBuilder.AustraliaPost: 7.85.4889.38779
CommerceBuilder.AuthorizeNet: 7.85.4889.38777
CommerceBuilder.AvaTax: 7.85.4889.38777
CommerceBuilder.BankOfCanada: 7.85.4889.38779
CommerceBuilder.CanadaPost: 7.85.4889.38779
CommerceBuilder.CyberSource: 7.85.4889.38777
CommerceBuilder.DHLInternational: 7.85.4889.38778
CommerceBuilder.ECB: 7.85.4889.38778
CommerceBuilder.GoogleCheckout: 7.85.4890.29663
CommerceBuilder.InternetSecure: 7.85.4889.38778
CommerceBuilder.Licensing: 7.85.4895.17205
CommerceBuilder.LinkPoint: 7.85.4889.38778
CommerceBuilder.Paradata: 7.85.4889.38778
CommerceBuilder.PayFlowPro: 7.85.4889.38778
CommerceBuilder.PayJunction: 7.85.4889.38778
CommerceBuilder.PaymentechOrbital: 7.85.4889.38777
CommerceBuilder.PayPal: 7.85.4890.29660
CommerceBuilder.Protx: 7.85.4889.38777
CommerceBuilder.SkipJack: 7.85.4889.38778
CommerceBuilder.UI: 7.85.4895.17205
CommerceBuilder.UPS: 7.85.4889.38776
CommerceBuilder.USPS: 7.85.4955.21005
CommerceBuilder.Utility.Csv: 8.0.0.0
CommerceBuilder.WATax: 7.85.4889.38777
CommerceBuilder.WebApi: 7.85.4895.17206
CuteChat: 5.0.0.0
CuteChat.AppCode: 5.0.0.0
CyberSource.Base: 2.0.0.0
CyberSource.Clients: 5.0.2.0
CyberSource.Clients.XmlSerializers: 5.0.2.0
CyberSource.WSSecurity: 2.0.0.0
CybsWSSecurityIOP: 1.0.0.0
HtmlSanitizationLibrary: 4.0.0.0
ICSharpCode.SharpZipLib: 0.86.0.518
Iesi.Collections: 1.0.1.0
log4net: 1.2.10.0
Lucene.Net: 2.9.4.1
Microsoft.Data.Edm: 5.1.0.0
Microsoft.Data.OData: 5.1.0.0
Microsoft.Data.OData.Contrib: 5.1.0.0
Microsoft.Web.Infrastructure: 1.0.0.0
Microsoft.Web.Mvc: 2.0.0.0
MvcContrib: 2.0.95.0
Newtonsoft.Json: 4.5.0.0
NHibernate: 3.3.1.4001
NHibernate.ByteCode.Castle: 3.1.0.4000
NHibernate.Caches.SysCache: 3.1.0.4000
NHibernate.Search: 2.0.2.4001
NVelocity: 7.2.0.0
PaygatewayNET: 3.0.0.0
paypal_base: 4.2.1.0
SanitizerProviders: 1.0.0.0
System.Net.Http: 2.0.0.0
System.Net.Http.Formatting: 4.0.0.0
System.Spatial: 5.1.0.0
System.Web.Http: 4.0.0.0
System.Web.Http.OData: 0.2.0.0
System.Web.Http.WebHost: 4.0.0.0
System.Web.Mvc: 4.0.0.0
System.Web.Razor: 2.0.0.0
System.Web.WebPages: 2.0.0.0
System.Web.WebPages.Deployment: 2.0.0.0
System.Web.WebPages.Razor: 2.0.0.0
TimePicker: 1.0.0.0
VM.xPort.Ds2xl: 3.7.0.0
wwHoverPanel: 1.85.0.0
Re: USPS API Updates for July
This was added to the instructions on the help site:
IMPORTANT: When you add new shipping methods, you'll notice that each method will now have 6 variants, USPS will return one of those depending on the scheduled delivery date calculation between the origin and destination zip codes. Possible values: “1-day”, “2-day”, “3-day”, “military”, “apo”, etc. So, it's REQUIRED to configure all variants for a service/shipping method you want to configure.
Please let me know if you are able to get it working after adding each variant of the method.
Thanks,
Katie
IMPORTANT: When you add new shipping methods, you'll notice that each method will now have 6 variants, USPS will return one of those depending on the scheduled delivery date calculation between the origin and destination zip codes. Possible values: “1-day”, “2-day”, “3-day”, “military”, “apo”, etc. So, it's REQUIRED to configure all variants for a service/shipping method you want to configure.
Please let me know if you are able to get it working after adding each variant of the method.
Thanks,
Katie
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
Re: USPS API Updates for July
That was it. Thank you!
- bkort@web2market.com
- AbleCommerce Partner
- Posts: 113
- Joined: Thu Jan 22, 2004 3:17 pm
- Location: Illinois
- Contact:
Re: USPS API Updates for July
Just wanted to let you know we're busy applying the patch for our hosted clients, and it's working great. Thanks for getting this done over the weekend.
Brad Kort, MBA
President
Web 2 Market, Inc.
info@web2market.com
708-653-3100 ext. 201
Sites:
http://www.web2market.com/
http://www.AblecommercePlugins.com/
http://www.foodretailerswebshoppingcart.com/
President
Web 2 Market, Inc.
info@web2market.com
708-653-3100 ext. 201
Sites:
http://www.web2market.com/
http://www.AblecommercePlugins.com/
http://www.foodretailerswebshoppingcart.com/
Re: USPS API Updates for July
This update did not work for me, for 7.0.6. I updated the CSV file, recycled my App Pool, removed the existing methods, and re-added my USPS method ("USPS Priority Mail"). I confirmed that I have the correct DLL from the January update. The new methods are all listed properly on the Admin page for adding integrated carrier methods, but I get no response in Checkout.
Are you sure that the ServiceCodes are correct? I can update the database manually if necessary. I've tried both
Are you sure that the ServiceCodes are correct? I can update the database manually if necessary. I've tried both
- Priority Mail<sup>™</sup>
- Priority Mail<sup>™</sup>
- ForumsAdmin
- AbleCommerce Moderator
- Posts: 399
- Joined: Wed Mar 13, 2013 7:19 am
Re: USPS API Updates for July
You will have to add all 6 variants of the shipping method. For example.
- Priority Mail Express
- Priority Mail Express 1-Day
- Priority Mail Express 2-Day
- Priority Mail Express 3-Day
- Priority Mail Express Military
- Priority Mail Express DPO
- Priority Mail Express
- Priority Mail Express 1-Day
- Priority Mail Express 2-Day
- Priority Mail Express 3-Day
- Priority Mail Express Military
- Priority Mail Express DPO
Re: USPS API Updates for July
I added all 6 variants to my USPS shipping methods and rates are being returned for all domestic, international and DPO addresses but not for other Military addresses. Is anyone else having trouble with Military addresses (APO AE, FPO AP) not returning USPS rates?
Re: USPS API Updates for July
Please enable debug mode from USPS configuration page, and copy paste the USPS send/receive logged messages. You can locate the USPS logged messages at ~/App_Data/Logs/U.S. Postal Service.Log after enabling debug mode.I added all 6 variants to my USPS shipping methods and rates are being returned for all domestic, international and DPO addresses but not for other Military addresses. Is anyone else having trouble with Military addresses (APO AE, FPO AP) not returning USPS rates?
Thanks for your support
Naveed Ashraf
.com
AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
Naveed Ashraf
.com
AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
Re: USPS API Updates for July
If you're not sure about the services being returned in AbleCommerce, then you can also try comparing with the USPS calculator online.
http://postcalc.usps.com/
Just enter the same info (zips, weight, etc) and it should give you the same service and rate as shown in AbleCommerce. This is a quick and easy way to test if you're unsure of something.
http://postcalc.usps.com/
Just enter the same info (zips, weight, etc) and it should give you the same service and rate as shown in AbleCommerce. This is a quick and easy way to test if you're unsure of something.
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
Re: USPS API Updates for July
Turned on USPS debug and attempted to ship to an APO AE address with zipcode 96278 (see log below). Also attempted to ship to a DPO AE address with zipcode 09498 (see log below). I'm not getting any rates returned for the APO AE address, but I am getting rates returned for the DPO AE address. I think the problem is being caused by the AbleCommerce variant defined for Military. The variant is defined as "MILITARY" and it should be "Military". I tried changing "MILITARY" to "Military" in the uspsmethods.csv file, but my Shipping Methods didn't reflect this change. Can someone tell me where I need to change "MILITARY" to "Military" to test my theory?
APO AE zipcode 96278 - LOG
Send: API=RateV3&XML=<?xml version="1.0"?><RateV3Request USERID="617BEENT4406"><Package ID="0"><Service>ALL</Service><ZipOrigination>66062</ZipOrigination><ZipDestination>96278</ZipDestination><Pounds>0</Pounds><Ounces>6.5</Ounces><Container>FLAT RATE BOX</Container><Size>REGULAR</Size><Width>4.0000</Width><Length>4.5000</Length><Height>2.7500</Height><Girth>22.00</Girth><Machinable>true</Machinable></Package></RateV3Request>
Receive: <?xml version="1.0"?>
<RateV3Response><Package ID="0"><ZipOrigination>66062</ZipOrigination><ZipDestination>96278</ZipDestination><Pounds>0</Pounds><Ounces>6.5</Ounces><Container>FLAT RATE BOX</Container><Size>REGULAR</Size><Machinable>TRUE</Machinable><Zone>7</Zone><Postage CLASSID="3"><MailService>Priority Mail Express Military<sup>™</sup></MailService><Rate>28.70</Rate><CommitmentDate>2013-08-06</CommitmentDate></Postage><Postage CLASSID="55"><MailService>Priority Mail Express Military<sup>™</sup> Flat Rate Boxes</MailService><Rate>39.95</Rate><CommitmentDate>2013-08-06</CommitmentDate></Postage><Postage CLASSID="13"><MailService>Priority Mail Express Military<sup>™</sup> Flat Rate Envelope</MailService><Rate>19.95</Rate><CommitmentDate>2013-08-06</CommitmentDate></Postage><Postage CLASSID="30"><MailService>Priority Mail Express Military<sup>™</sup> Legal Flat Rate Envelope</MailService><Rate>19.95</Rate><CommitmentDate>2013-08-06</CommitmentDate></Postage><Postage CLASSID="62"><MailService>Priority Mail Express Military<sup>™</sup> Padded Flat Rate Envelope</MailService><Rate>19.95</Rate><CommitmentDate>2013-08-06</CommitmentDate></Postage><Postage CLASSID="1"><MailService>Priority Mail Military<sup>™</sup></MailService><Rate>6.45</Rate></Postage><Postage CLASSID="22"><MailService>Priority Mail Military<sup>™</sup> Large Flat Rate Box</MailService><Rate>14.85</Rate></Postage><Postage CLASSID="17"><MailService>Priority Mail Military<sup>™</sup> Medium Flat Rate Box</MailService><Rate>12.35</Rate></Postage><Postage CLASSID="28"><MailService>Priority Mail Military<sup>™</sup> Small Flat Rate Box</MailService><Rate>5.80</Rate></Postage><Postage CLASSID="16"><MailService>Priority Mail Military<sup>™</sup> Flat Rate Envelope</MailService><Rate>5.60</Rate></Postage><Postage CLASSID="44"><MailService>Priority Mail Military<sup>™</sup> Legal Flat Rate Envelope</MailService><Rate>5.75</Rate></Postage><Postage CLASSID="29"><MailService>Priority Mail Military<sup>™</sup> Padded Flat Rate Envelope</MailService><Rate>5.95</Rate></Postage><Postage CLASSID="38"><MailService>Priority Mail Military<sup>™</sup> Gift Card Flat Rate Envelope</MailService><Rate>5.60</Rate></Postage><Postage CLASSID="42"><MailService>Priority Mail Military<sup>™</sup> Small Flat Rate Envelope</MailService><Rate>5.60</Rate></Postage><Postage CLASSID="40"><MailService>Priority Mail Military<sup>™</sup> Window Flat Rate Envelope</MailService><Rate>5.60</Rate></Postage><Postage CLASSID="0"><MailService>First-Class Mail<sup>®</sup> Parcel</MailService><Rate>2.75</Rate></Postage><Postage CLASSID="0"><MailService>First-Class Mail<sup>®</sup> Large Envelope</MailService><Rate>2.12</Rate></Postage><Postage CLASSID="4"><MailService>Standard Post<sup>®</sup></MailService><Rate>6.35</Rate></Postage><Postage CLASSID="6"><MailService>Media Mail<sup>®</sup></MailService><Rate>2.53</Rate></Postage><Postage CLASSID="7"><MailService>Library Mail</MailService><Rate>2.40</Rate></Postage><Restrictions>A. Securities, currency, or precious metals in their raw, unmanufactured state are prohibited. Official shipments are exempt from this restriction.A1. Mail addressed to 'Any Servicemember' or similar wording such as 'Any Soldier, Sailor, Airman or Marine', 'Military Mail', etc., is prohibited. Mail must be addressed to an individual or job title, such as 'Commander', 'Commanding Officer', etc.A2. APO/FPO/DPO addresses shall not include a city and/or country name.B. Regardless of mail class, a customs declaration (PS Form 2976 or, if the customer prefers, PS Form 2976-A) is required for all items weighing 16 ounces or more, or any item (regardless of weight) containing potentially dutiable mail contents (e.g., merchandise or goods) addressed to or from an APO, FPO, or DPO ZIP Code. No customs form is required for items weighing less than 16 ounces when the contents are not potentially dutiable (e.g., documents). The surface area of the address side of the mailpiece must be large enough to contain the applicable customs declaration. The following exceptions apply:
B. a. Known mailers are exempt from providing customs documentation on non-dutiable letters or printed matter. (A known mailer is a business mailer who enters volume mailings through a business mail entry unit (BMEU) or other bulk mail acceptance location, pays postage through an advance deposit account, uses a permit imprint for postage payment, and submits a completed postage statement at the time of entry that certifies that the mailpieces contain no dangerous materials that are prohibited by postal regulations.)
B. b. All federal, state, and local government agencies whose mailings are regarded as "Official Mail" are exempt from providing customs documentation on any item addressed to an APO, FPO, or DPO except for those APOs/FPOs/DPOs to which restriction "B2" applies.
B. c. Prepaid mail from military contractors is exempt, providing the mailpiece is endorsed "Contents for Official USend: API=RateV3&XML=<?xml version="1.0"?><RateV3Request USERID="617BEENT4406"><Package ID="0"><Service>ALL</Service><ZipOrigination>66062</ZipOrigination><ZipDestination>96278</ZipDestination><Pounds>0</Pounds><Ounces>6.5</Ounces><Container>FLAT RATE BOX</Container><Size>REGULAR</Size><Width>4.0000</Width><Length>4.5000</Length><Height>2.7500</Height><Girth>22.00</Girth><Machinable>true</Machinable></Package></RateV3Request>
DPO AE zipcode 09498 - LOG
Send: API=RateV3&XML=<?xml version="1.0"?><RateV3Request USERID="617BEENT4406"><Package ID="0"><Service>ALL</Service><ZipOrigination>66062</ZipOrigination><ZipDestination>09498</ZipDestination><Pounds>0</Pounds><Ounces>6.5</Ounces><Container>FLAT RATE BOX</Container><Size>REGULAR</Size><Width>4.0000</Width><Length>4.5000</Length><Height>2.7500</Height><Girth>22.00</Girth><Machinable>true</Machinable></Package></RateV3Request>
Receive: <?xml version="1.0"?>
<RateV3Response><Package ID="0"><ZipOrigination>66062</ZipOrigination><ZipDestination>09498</ZipDestination><Pounds>0</Pounds><Ounces>6.5</Ounces><Container>FLAT RATE BOX</Container><Size>REGULAR</Size><Machinable>TRUE</Machinable><Zone>6</Zone><Postage CLASSID="1"><MailService>Priority Mail DPO<sup>™</sup></MailService><Rate>6.20</Rate></Postage><Postage CLASSID="22"><MailService>Priority Mail DPO<sup>™</sup> Large Flat Rate Box</MailService><Rate>14.85</Rate></Postage><Postage CLASSID="17"><MailService>Priority Mail DPO<sup>™</sup> Medium Flat Rate Box</MailService><Rate>12.35</Rate></Postage><Postage CLASSID="28"><MailService>Priority Mail DPO<sup>™</sup> Small Flat Rate Box</MailService><Rate>5.80</Rate></Postage><Postage CLASSID="16"><MailService>Priority Mail DPO<sup>™</sup> Flat Rate Envelope</MailService><Rate>5.60</Rate></Postage><Postage CLASSID="44"><MailService>Priority Mail DPO<sup>™</sup> Legal Flat Rate Envelope</MailService><Rate>5.75</Rate></Postage><Postage CLASSID="29"><MailService>Priority Mail DPO<sup>™</sup> Padded Flat Rate Envelope</MailService><Rate>5.95</Rate></Postage><Postage CLASSID="38"><MailService>Priority Mail DPO<sup>™</sup> Gift Card Flat Rate Envelope</MailService><Rate>5.60</Rate></Postage><Postage CLASSID="42"><MailService>Priority Mail DPO<sup>™</sup> Small Flat Rate Envelope</MailService><Rate>5.60</Rate></Postage><Postage CLASSID="40"><MailService>Priority Mail DPO<sup>™</sup> Window Flat Rate Envelope</MailService><Rate>5.60</Rate></Postage><Postage CLASSID="0"><MailService>First-Class Mail<sup>®</sup> Parcel</MailService><Rate>2.75</Rate></Postage><Postage CLASSID="0"><MailService>First-Class Mail<sup>®</sup> Large Envelope</MailService><Rate>2.12</Rate></Postage><Postage CLASSID="4"><MailService>Standard Post<sup>®</sup></MailService><Rate>6.15</Rate></Postage><Postage CLASSID="6"><MailService>Media Mail<sup>®</sup></MailService><Rate>2.53</Rate></Postage><Postage CLASSID="7"><MailService>Library Mail</MailService><Rate>2.40</Rate></Postage><Restrictions>A1. Mail addressed to 'Any Servicemember' or similar wording such as 'Any Soldier, Sailor, Airman or Marine', 'Military Mail', etc., is prohibited. Mail must be addressed to an individual or job title, such as 'Commander', 'Commanding Officer', etc.A2. APO/FPO/DPO addresses shall not include a city and/or country name.B. Regardless of mail class, a customs declaration (PS Form 2976 or, if the customer prefers, PS Form 2976-A) is required for all items weighing 16 ounces or more, or any item (regardless of weight) containing potentially dutiable mail contents (e.g., merchandise or goods) addressed to or from an APO, FPO, or DPO ZIP Code. No customs form is required for items weighing less than 16 ounces when the contents are not potentially dutiable (e.g., documents). The surface area of the address side of the mailpiece must be large enough to contain the applicable customs declaration. The following exceptions apply:
B. a. Known mailers are exempt from providing customs documentation on non-dutiable letters or printed matter. (A known mailer is a business mailer who enters volume mailings through a business mail entry unit (BMEU) or other bulk mail acceptance location, pays postage through an advance deposit account, uses a permit imprint for postage payment, and submits a completed postage statement at the time of entry that certifies that the mailpieces contain no dangerous materials that are prohibited by postal regulations.)
B. b. All federal, state, and local government agencies whose mailings are regarded as "Official Mail" are exempt from providing customs documentation on any item addressed to an APO, FPO, or DPO except for those APOs/FPOs/DPOs to which restriction "B2" applies.
B. c. Prepaid mail from military contractors is exempt, providing the mailpiece is endorsed "Contents for Official Use - Exempt from Customs Requirements."C. Cigarettes and other tobacco products are prohibited.C1. Obscene articles, prints, paintings, cards, films, videotapes, etc., and horror comics and matrices are prohibited.F. Firearms of any type are prohibited in all classes of mail. See definitions of firearms in DMM 601.12.1.1. This restriction does not apply to firearms mailed to or by official U.S. government agencies. The restriction for mail to this ZIP Code does not apply to firearms mailed from this ZIP Code, provided ATF and USPS regulations are met. Antique firearms are a separate category defined in DMM 601.12.1.1.h and ATF regulations; they do not require an ATF form.F1. Privately owned weapons addressed to an individual are prohibited in any class of mail.F2. Importation of firearms is restricted to one shotgun and one single shot .22 caliber rifle per individual.J. Parcels may not exceed 108 inches in length and girth combined.L. All official mail is prohibited.N. Registered mail is prohibited.R. All alcoholic beverages, including those mailable under DMM 601.12.7, are prohibited.R1. Materials used in production of alcoholic beverages (i.e., distilling material, hops, malts, yeast, etc.) are prohibited.T. Mailings of case lots of food and supplemental household shipments must be approved by sender's parent agency prior to mailing.V. Express Mail Military Service (EMMS) not available.</Restrictions></Package></RateV3Response>
APO AE zipcode 96278 - LOG
Send: API=RateV3&XML=<?xml version="1.0"?><RateV3Request USERID="617BEENT4406"><Package ID="0"><Service>ALL</Service><ZipOrigination>66062</ZipOrigination><ZipDestination>96278</ZipDestination><Pounds>0</Pounds><Ounces>6.5</Ounces><Container>FLAT RATE BOX</Container><Size>REGULAR</Size><Width>4.0000</Width><Length>4.5000</Length><Height>2.7500</Height><Girth>22.00</Girth><Machinable>true</Machinable></Package></RateV3Request>
Receive: <?xml version="1.0"?>
<RateV3Response><Package ID="0"><ZipOrigination>66062</ZipOrigination><ZipDestination>96278</ZipDestination><Pounds>0</Pounds><Ounces>6.5</Ounces><Container>FLAT RATE BOX</Container><Size>REGULAR</Size><Machinable>TRUE</Machinable><Zone>7</Zone><Postage CLASSID="3"><MailService>Priority Mail Express Military<sup>™</sup></MailService><Rate>28.70</Rate><CommitmentDate>2013-08-06</CommitmentDate></Postage><Postage CLASSID="55"><MailService>Priority Mail Express Military<sup>™</sup> Flat Rate Boxes</MailService><Rate>39.95</Rate><CommitmentDate>2013-08-06</CommitmentDate></Postage><Postage CLASSID="13"><MailService>Priority Mail Express Military<sup>™</sup> Flat Rate Envelope</MailService><Rate>19.95</Rate><CommitmentDate>2013-08-06</CommitmentDate></Postage><Postage CLASSID="30"><MailService>Priority Mail Express Military<sup>™</sup> Legal Flat Rate Envelope</MailService><Rate>19.95</Rate><CommitmentDate>2013-08-06</CommitmentDate></Postage><Postage CLASSID="62"><MailService>Priority Mail Express Military<sup>™</sup> Padded Flat Rate Envelope</MailService><Rate>19.95</Rate><CommitmentDate>2013-08-06</CommitmentDate></Postage><Postage CLASSID="1"><MailService>Priority Mail Military<sup>™</sup></MailService><Rate>6.45</Rate></Postage><Postage CLASSID="22"><MailService>Priority Mail Military<sup>™</sup> Large Flat Rate Box</MailService><Rate>14.85</Rate></Postage><Postage CLASSID="17"><MailService>Priority Mail Military<sup>™</sup> Medium Flat Rate Box</MailService><Rate>12.35</Rate></Postage><Postage CLASSID="28"><MailService>Priority Mail Military<sup>™</sup> Small Flat Rate Box</MailService><Rate>5.80</Rate></Postage><Postage CLASSID="16"><MailService>Priority Mail Military<sup>™</sup> Flat Rate Envelope</MailService><Rate>5.60</Rate></Postage><Postage CLASSID="44"><MailService>Priority Mail Military<sup>™</sup> Legal Flat Rate Envelope</MailService><Rate>5.75</Rate></Postage><Postage CLASSID="29"><MailService>Priority Mail Military<sup>™</sup> Padded Flat Rate Envelope</MailService><Rate>5.95</Rate></Postage><Postage CLASSID="38"><MailService>Priority Mail Military<sup>™</sup> Gift Card Flat Rate Envelope</MailService><Rate>5.60</Rate></Postage><Postage CLASSID="42"><MailService>Priority Mail Military<sup>™</sup> Small Flat Rate Envelope</MailService><Rate>5.60</Rate></Postage><Postage CLASSID="40"><MailService>Priority Mail Military<sup>™</sup> Window Flat Rate Envelope</MailService><Rate>5.60</Rate></Postage><Postage CLASSID="0"><MailService>First-Class Mail<sup>®</sup> Parcel</MailService><Rate>2.75</Rate></Postage><Postage CLASSID="0"><MailService>First-Class Mail<sup>®</sup> Large Envelope</MailService><Rate>2.12</Rate></Postage><Postage CLASSID="4"><MailService>Standard Post<sup>®</sup></MailService><Rate>6.35</Rate></Postage><Postage CLASSID="6"><MailService>Media Mail<sup>®</sup></MailService><Rate>2.53</Rate></Postage><Postage CLASSID="7"><MailService>Library Mail</MailService><Rate>2.40</Rate></Postage><Restrictions>A. Securities, currency, or precious metals in their raw, unmanufactured state are prohibited. Official shipments are exempt from this restriction.A1. Mail addressed to 'Any Servicemember' or similar wording such as 'Any Soldier, Sailor, Airman or Marine', 'Military Mail', etc., is prohibited. Mail must be addressed to an individual or job title, such as 'Commander', 'Commanding Officer', etc.A2. APO/FPO/DPO addresses shall not include a city and/or country name.B. Regardless of mail class, a customs declaration (PS Form 2976 or, if the customer prefers, PS Form 2976-A) is required for all items weighing 16 ounces or more, or any item (regardless of weight) containing potentially dutiable mail contents (e.g., merchandise or goods) addressed to or from an APO, FPO, or DPO ZIP Code. No customs form is required for items weighing less than 16 ounces when the contents are not potentially dutiable (e.g., documents). The surface area of the address side of the mailpiece must be large enough to contain the applicable customs declaration. The following exceptions apply:
B. a. Known mailers are exempt from providing customs documentation on non-dutiable letters or printed matter. (A known mailer is a business mailer who enters volume mailings through a business mail entry unit (BMEU) or other bulk mail acceptance location, pays postage through an advance deposit account, uses a permit imprint for postage payment, and submits a completed postage statement at the time of entry that certifies that the mailpieces contain no dangerous materials that are prohibited by postal regulations.)
B. b. All federal, state, and local government agencies whose mailings are regarded as "Official Mail" are exempt from providing customs documentation on any item addressed to an APO, FPO, or DPO except for those APOs/FPOs/DPOs to which restriction "B2" applies.
B. c. Prepaid mail from military contractors is exempt, providing the mailpiece is endorsed "Contents for Official USend: API=RateV3&XML=<?xml version="1.0"?><RateV3Request USERID="617BEENT4406"><Package ID="0"><Service>ALL</Service><ZipOrigination>66062</ZipOrigination><ZipDestination>96278</ZipDestination><Pounds>0</Pounds><Ounces>6.5</Ounces><Container>FLAT RATE BOX</Container><Size>REGULAR</Size><Width>4.0000</Width><Length>4.5000</Length><Height>2.7500</Height><Girth>22.00</Girth><Machinable>true</Machinable></Package></RateV3Request>
DPO AE zipcode 09498 - LOG
Send: API=RateV3&XML=<?xml version="1.0"?><RateV3Request USERID="617BEENT4406"><Package ID="0"><Service>ALL</Service><ZipOrigination>66062</ZipOrigination><ZipDestination>09498</ZipDestination><Pounds>0</Pounds><Ounces>6.5</Ounces><Container>FLAT RATE BOX</Container><Size>REGULAR</Size><Width>4.0000</Width><Length>4.5000</Length><Height>2.7500</Height><Girth>22.00</Girth><Machinable>true</Machinable></Package></RateV3Request>
Receive: <?xml version="1.0"?>
<RateV3Response><Package ID="0"><ZipOrigination>66062</ZipOrigination><ZipDestination>09498</ZipDestination><Pounds>0</Pounds><Ounces>6.5</Ounces><Container>FLAT RATE BOX</Container><Size>REGULAR</Size><Machinable>TRUE</Machinable><Zone>6</Zone><Postage CLASSID="1"><MailService>Priority Mail DPO<sup>™</sup></MailService><Rate>6.20</Rate></Postage><Postage CLASSID="22"><MailService>Priority Mail DPO<sup>™</sup> Large Flat Rate Box</MailService><Rate>14.85</Rate></Postage><Postage CLASSID="17"><MailService>Priority Mail DPO<sup>™</sup> Medium Flat Rate Box</MailService><Rate>12.35</Rate></Postage><Postage CLASSID="28"><MailService>Priority Mail DPO<sup>™</sup> Small Flat Rate Box</MailService><Rate>5.80</Rate></Postage><Postage CLASSID="16"><MailService>Priority Mail DPO<sup>™</sup> Flat Rate Envelope</MailService><Rate>5.60</Rate></Postage><Postage CLASSID="44"><MailService>Priority Mail DPO<sup>™</sup> Legal Flat Rate Envelope</MailService><Rate>5.75</Rate></Postage><Postage CLASSID="29"><MailService>Priority Mail DPO<sup>™</sup> Padded Flat Rate Envelope</MailService><Rate>5.95</Rate></Postage><Postage CLASSID="38"><MailService>Priority Mail DPO<sup>™</sup> Gift Card Flat Rate Envelope</MailService><Rate>5.60</Rate></Postage><Postage CLASSID="42"><MailService>Priority Mail DPO<sup>™</sup> Small Flat Rate Envelope</MailService><Rate>5.60</Rate></Postage><Postage CLASSID="40"><MailService>Priority Mail DPO<sup>™</sup> Window Flat Rate Envelope</MailService><Rate>5.60</Rate></Postage><Postage CLASSID="0"><MailService>First-Class Mail<sup>®</sup> Parcel</MailService><Rate>2.75</Rate></Postage><Postage CLASSID="0"><MailService>First-Class Mail<sup>®</sup> Large Envelope</MailService><Rate>2.12</Rate></Postage><Postage CLASSID="4"><MailService>Standard Post<sup>®</sup></MailService><Rate>6.15</Rate></Postage><Postage CLASSID="6"><MailService>Media Mail<sup>®</sup></MailService><Rate>2.53</Rate></Postage><Postage CLASSID="7"><MailService>Library Mail</MailService><Rate>2.40</Rate></Postage><Restrictions>A1. Mail addressed to 'Any Servicemember' or similar wording such as 'Any Soldier, Sailor, Airman or Marine', 'Military Mail', etc., is prohibited. Mail must be addressed to an individual or job title, such as 'Commander', 'Commanding Officer', etc.A2. APO/FPO/DPO addresses shall not include a city and/or country name.B. Regardless of mail class, a customs declaration (PS Form 2976 or, if the customer prefers, PS Form 2976-A) is required for all items weighing 16 ounces or more, or any item (regardless of weight) containing potentially dutiable mail contents (e.g., merchandise or goods) addressed to or from an APO, FPO, or DPO ZIP Code. No customs form is required for items weighing less than 16 ounces when the contents are not potentially dutiable (e.g., documents). The surface area of the address side of the mailpiece must be large enough to contain the applicable customs declaration. The following exceptions apply:
B. a. Known mailers are exempt from providing customs documentation on non-dutiable letters or printed matter. (A known mailer is a business mailer who enters volume mailings through a business mail entry unit (BMEU) or other bulk mail acceptance location, pays postage through an advance deposit account, uses a permit imprint for postage payment, and submits a completed postage statement at the time of entry that certifies that the mailpieces contain no dangerous materials that are prohibited by postal regulations.)
B. b. All federal, state, and local government agencies whose mailings are regarded as "Official Mail" are exempt from providing customs documentation on any item addressed to an APO, FPO, or DPO except for those APOs/FPOs/DPOs to which restriction "B2" applies.
B. c. Prepaid mail from military contractors is exempt, providing the mailpiece is endorsed "Contents for Official Use - Exempt from Customs Requirements."C. Cigarettes and other tobacco products are prohibited.C1. Obscene articles, prints, paintings, cards, films, videotapes, etc., and horror comics and matrices are prohibited.F. Firearms of any type are prohibited in all classes of mail. See definitions of firearms in DMM 601.12.1.1. This restriction does not apply to firearms mailed to or by official U.S. government agencies. The restriction for mail to this ZIP Code does not apply to firearms mailed from this ZIP Code, provided ATF and USPS regulations are met. Antique firearms are a separate category defined in DMM 601.12.1.1.h and ATF regulations; they do not require an ATF form.F1. Privately owned weapons addressed to an individual are prohibited in any class of mail.F2. Importation of firearms is restricted to one shotgun and one single shot .22 caliber rifle per individual.J. Parcels may not exceed 108 inches in length and girth combined.L. All official mail is prohibited.N. Registered mail is prohibited.R. All alcoholic beverages, including those mailable under DMM 601.12.7, are prohibited.R1. Materials used in production of alcoholic beverages (i.e., distilling material, hops, malts, yeast, etc.) are prohibited.T. Mailings of case lots of food and supplemental household shipments must be approved by sender's parent agency prior to mailing.V. Express Mail Military Service (EMMS) not available.</Restrictions></Package></RateV3Response>
Re: USPS API Updates for July
If you make changes to the CSV file, then you will need to restart the application server.
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
Re: USPS API Updates for July
You are right about changing it to "MILITARY" to "Military". The USPS documentation about the service codes changes was very very poor (the variant was mentioned in the documentation as "MILITARY", while we can see that in the ship rates response they are returning "Military".Turned on USPS debug and attempted to ship to an APO AE address with zipcode 96278 (see log below). Also attempted to ship to a DPO AE address with zipcode 09498 (see log below). I'm not getting any rates returned for the APO AE address, but I am getting rates returned for the DPO AE address. I think the problem is being caused by the AbleCommerce variant defined for Military. The variant is defined as "MILITARY" and it should be "Military". I tried changing "MILITARY" to "Military" in the uspsmethods.csv file, but my Shipping Methods didn't reflect this change. Can someone tell me where I need to change "MILITARY" to "Military" to test my theory?
https://www.usps.com/business/web-tools ... -notes.rtf
The AC7x patch contains only updated csv file, and luckily we used the "Military" word, while for AC Gold patch we released earlier and using the "MILITARY" word in service codes (following the provided USPS release notes), which will not match with the service results returned from USPS. Unfortunately fix for AC Gold will require updating the USPS provider implementation code.
Possible workarounds:
1. If you have access to database, you can update the service code names to use "Military" instead "MILITARY" for configured USPS services/methods.
Or
2. Alternately if you are in hurry, download the AC7x patch and replace the uspsmethods.csv for your AC Gold install, restart IIS, delete the configured ship methods and reconfigure. The AC7x uspsmethods.csv file will work for AC Gold releases as well, but once we update our AC Gold patch, its recommended to switch to new AC Gold patch.
http://help.ablecommerce.com/index.htm# ... h_2013.htm
Or
3. Wait for an updated patch for AC Gold.
Thanks for your support
Naveed Ashraf
.com
AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
Naveed Ashraf
.com
AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
Re: USPS API Updates for July
Thanks for the update Naveed. I think I will wait for option 3 - wait for an updated patch for AC Gold. Please post when the updated patch is available.
Re: USPS API Updates for July
The updated patch is ready to go.
http://help.ablecommerce.com/index.htm# ... y_2013.htm
Thanks, and please let us know if you have any other problems.
http://help.ablecommerce.com/index.htm# ... y_2013.htm
Thanks, and please let us know if you have any other problems.
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
Re: USPS API Updates for July
Installed the updated patch on my Gold R4 site and tested all USPS Shipping Methods - all good! Thanks for the speedy turnaround
Re: USPS API Updates for July
Hello,
Just realized there was a problem with the new USPS options today.
Has anyone else had problems with US provinces? AS, GU, etc.
I have all the priority mail new types activated.
But all I get for provinces is live Express mail rates, and my hard coded offline Priority mail rate (a flat rate table in case usps is offline)
When I check online in usps.com to see what they offer when making a label or calculating shipping, they DO show priority mail rates.
So why can't we get them? No problem with PR, just the other provinces.
Just realized there was a problem with the new USPS options today.
Has anyone else had problems with US provinces? AS, GU, etc.
I have all the priority mail new types activated.
- USPS Priority Mail
USPS Priority Mail 1-Day
USPS Priority Mail 2-Day
USPS Priority Mail 3-Day
USPS Priority Mail Military
USPS Priority Mail DPO
But all I get for provinces is live Express mail rates, and my hard coded offline Priority mail rate (a flat rate table in case usps is offline)
When I check online in usps.com to see what they offer when making a label or calculating shipping, they DO show priority mail rates.
So why can't we get them? No problem with PR, just the other provinces.
~Mo
Maureen Albertson
Scott's Bait & Tackle / Mystic Reel Parts LLC
Contact Me Via Store Website
Ablecommerce Gold R11 Catalog LIVE
Maureen Albertson
Scott's Bait & Tackle / Mystic Reel Parts LLC
Contact Me Via Store Website
Ablecommerce Gold R11 Catalog LIVE