LaughingHorse Posted January 12, 2016 Share Posted January 12, 2016 I'm wondering if anyone has tested and checked if the new USPS API changes will be affecting the USPS plugin.This is a final reminder that on January 17, 2016, in conjunction with the USPS Price Change, USPS will implement updates and additional features to the suite of Web Tools APIs. Updated release notes are available now at https://www.usps.com/business/web-tools-apis/documentation-updates.htmImpacted APIs will include, but are not limited to, the following:Domestic Price and Label APIsInternational Price and Label/Customs Forms APIsThe Web Tools external testing environment is now available. For instructions on accessing the test environment, please see the release notes under the Announcements section at https://www.usps.com/business/web-tools-apis/welcome.htm Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 12, 2016 Share Posted January 12, 2016 Some names will change. I think the only one that affects CubeCart will be when CubeCart is looking for "Standard Post" in the response to see if it is enabled, instead there will be "USPS Retail Ground" in the response. Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted January 13, 2016 Share Posted January 13, 2016 It would be best if you created a github issue for this just in case Al is not aware of this and doesn't see this forum threadIan Quote Link to comment Share on other sites More sharing options...
LaughingHorse Posted January 13, 2016 Author Share Posted January 13, 2016 BSmither - Thank You, the question is will it be fixed in time, if not what do us with USPS plugins do to change things to comply. And will those changes hold when there are updates to CC?Ian - setting that up in Github now Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 13, 2016 Share Posted January 13, 2016 The USPS module is an "after-market" module -- it is both downloaded separately and upgraded separately (as of CC6). Upgrading CC6 will not disturb any module. Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 13, 2016 Share Posted January 13, 2016 Looking at the module's code in the latest version of USPS, the function is actually looking for the USPS "CLASSID" - a numerical value that does not change, but the 'name' of the service may change.So, for CLASSID 4, it's name will change from "Standard Post" to "USPS Retail Ground". CubeCart will show whatever the name is contained in the response for a CLASSID of 4.FYI, CubeCart uses the phrase "Parcel Post" in the USPS module's settings screen.This being said, I think the only edit necessary is in the module's language file so that the store owner is being shown the current name: (was) Parcel Post, (was) Standard Post, (now) USPS Retail Ground.Since this module uses no other USPS services (printing labels, customs forms, insurance options, delivery confirmation, etc), there are no impending concerns. Quote Link to comment Share on other sites More sharing options...
LaughingHorse Posted January 13, 2016 Author Share Posted January 13, 2016 So just go into Admin | Store Settings | Languages and make changes there?Hopefully, eventually it will use insurance options, signature required, etc. from USPS. Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 13, 2016 Share Posted January 13, 2016 You can make the changes in the module's /language/modules.definitions.xml file.Or you can make the change in admin, (not Store Settings) Languages, click on the language you want to change. From the drop-down shown to you, scroll all the way to the bottom and choose Modules-Shipping-USPS. From the list presented to you, scroll to 'service_parcel_post' and make the change there. This way, the change is databased and will persist across upgrades of this module. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted January 14, 2016 Share Posted January 14, 2016 Thanks for this. USPS are notorious for changing the API at short notice, just to make everyone's life hell. We'll get onto this ASAP. Quote Link to comment Share on other sites More sharing options...
LaughingHorse Posted January 14, 2016 Author Share Posted January 14, 2016 Thanks bsmither and AlAl, It's USPS's favorite game to "prove their value" to everyone. [sarcasm] Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted September 20, 2016 Share Posted September 20, 2016 Thanks all. This was a long time coming eigh? I have updated the USPS integration to reflect the name name change. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted September 20, 2016 Share Posted September 20, 2016 Does it now correctly handle LARGE as a package size? Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted September 20, 2016 Share Posted September 20, 2016 No I'll look at that next. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.