Greetings Kim!
95% of all of our shipments are envelop mailings, either First Class or International Airmail. The remaining 5% are flat rate Priority Mail... about 1,000 pieces per month.
Greetings Kim!
95% of all of our shipments are envelop mailings, either First Class or International Airmail. The remaining 5% are flat rate Priority Mail... about 1,000 pieces per month.
http://www.usps.com/prices/prices_shape.htm - Really not *that* different from the old.
Please do not PM for support issues: a private solution doesn't benefit the community.
Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.
Is there a new API for getting postage costs? I have not found a new one at USPS. I am sure I will need to tell the code to get the "package rate" for first class mail. Or is the current module already asking for the package rate?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
I'm just going to either add a heck of a surcharge or remove the USPS as a shipping method until they get their poop in a group.
Subject
---------------------------------------------------------------
Web Tools APIs release.
Discussion Thread
---------------------------------------------------------------
Response (Kim E) - 05/13/2007 10:47 AM
Dear DENNIS SAYER,
I have researched into when the new documentation will be available. The new user documentation for web tools will be available on our website by noon on Monday May 14, 2007.
If I can be of assistance to you in the future, please don't hesitate to contact me.
Thank you for choosing the United States Postal ServiceŽ.
Regards,
Kim E
I called USPS last night. They agree there is no API update on there site. And they would give me nothing over the phone. I asked who I need to call for this info. the answer was basically "don't call us, we will call you". They took my email address. And that was it.
After playing with settings I agree there are no changes required if you are going to use the First Class Parcel rate. Because the First class settings will default to the higher Parcel rate. If you want to test and make a display change do the two following changes in /includes/modules/shipping/usps.php.
With no other changes, USPS returns First Class - Package rates. Which is what I needed.
Change this:
$usps_server = 'production.shippingapis.com';
To this:
$usps_server = 'stg-production.shippingapis.com';
This:
'First Class' => 'First-Class Mail',
To This:
'First Class' => 'First Class Parcel',
Other things I learned yesterday by process of expimentation, but not needed for Monday are.
// old
// $request = 'API=Rate&XML=' . urlencode($request);
// change to
$request = 'API=RateV3&XML=' . urlencode($request);
// old
// $request .= '</RateRequest>';
// change to
$request .= '</RateV3Request>';
// old
// $request = '<RateRequest USERID="' . MODULE_SHIPPING_USPS_USERID . '" PASSWORD="' . MODULE_SHIPPING_USPS_PASSWORD . '">';
// change to
$request = '<RateV3Request USERID="' . MODULE_SHIPPING_USPS_USERID . '">';
// old
//'<Service>' . $key . '</Service>' .
//'<ZipOrigination>' . SHIPPING_ORIGIN_ZIP . '</ZipOrigination>' .
// change to
'<Service>' . $key . '</Service>' .
'<FirstClassMailType>(1 of 3 new terms we dont know yet)</FirstClassMailType>' .
'<ZipOrigination>' . SHIPPING_ORIGIN_ZIP . '</ZipOrigination>' .
When I use their staging environment, US domestic priority works ok. However, I am getting the following error for international priority mail
-----------------------------
We are unable to find a USPS shipping quote suitable for your mailing address and the shipping methods we typically use.
If you prefer to use USPS as your shipping method, please contact us for assistance.
(Please check that your Zip Code is entered correctly.)
----------------------------
Anyone has a workaround?
We, the Zen Cart Development Team, have a release that will be coming out shortly ...
staging server is working fine with Monday rates ... and if USPS manages to flip the switch correctly ... all will be right in the world for both US and International ...
We have some folks testing as are we ... and all is looking good ...![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!