Totally Zenned
- Join Date:
- Jun 2007
- Location:
- Bronx, New York, United States
- Posts:
- 949
- Plugin Contributions:
- 3
USPS Shipping (RESTful) (USPSr)
Since there is a LOT being changed on this version. (Namely the build of the main module file.) I create a pre-release build of what will be version 1.5.0 (aptly named, 1.5.0-dev).
This version is ready for testing from the GitHub repo and linked below.
I'm hoping to get a lot more eyes on this before I submit it to the module directory.
Here's what changed:
Added in 1.5.0-dev
- Added the other notifiers (there was only one missing) from the original USPS WebTools module (one was changed due to differences between the code bases but their insertion points remain).
Changed in 1.5.0-dev
- Changed the HTML code for the backend from <b> to <strong>. (This is not going to be updated on current installs.)
- Improved the building of quotes. Broadly instead of the module doing a double iteration over the full list of selected methods and the entire resultant request from the USPS API, the module now indexes that pull and will hunt down the desired method by named key now. This should greatly help with the problem of slow API pulls. [#50]
- Moved some helper functions and language files from the main module to a new extra_functions file. (This resolves the "can't visit the cmd=configuration&gID=6 page" error in the backend.) Side note: Love the new look for the configuration in 2.2.0.
Fixed in 1.5.0-dev
- Fixed an issue where the cart would reduce the weight of the quote if it reached ZenCart's maximum weight. (Example: If the order is 85 pounds, ZenCart makes the order send a quote for 42.5 pounds instead.) The quote is supposed to be multiplied for each "box" in the order when configured for such. Additionally, the "order" fee is also multiplied correctly. [#74]
- Fixed an issue that would generate a warning when the module would try to request standards for services that don't provide them. (ie. Connect Local and all international shipments.) That problem is now squelched as the module will check to see such a result exist first before trying to access it.
Test builds have so far worked with all versions of ZenCart (and the upcoming preview 2.2.0 build).
You can download the desired version here for the repository or from the forum attachment:
https://github.com/retched/ZC-USPSRestful/releases/tag/v1.5.0
Will strongly advise that a full FRESH install install of the module be made.