VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Shipping VM 1.1 => USPS (U.S. Postal Service) VM 1 => Topic started by: MIRADORO on August 04, 2010, 22:57:10 PM

Title: Setting up USPS and getting an error
Post by: MIRADORO on August 04, 2010, 22:57:10 PM
hi im currently using virtuemart 1.1.4

We are unable to ship USPS as the there was an error,
please select another shipping method.

What did i do wrong?

i turn the module on admin and store configurations

Title: Re: Setting up USPS and getting an error
Post by: lowmips on August 04, 2010, 23:56:26 PM
Quote from: MIRADORO on August 04, 2010, 22:57:10 PM
hi im currently using virtuemart 1.1.4

We are unable to ship USPS as the there was an error,
please select another shipping method.
What did i do wrong?
i turn the module on admin and store configurations

Put your shop in debug mode (VirtueMart, not Joomla), and it should give you more info.

Also, did you sign up for web services? Did you input your USPS API credentials?
Title: Re: Setting up USPS and getting an error
Post by: MIRADORO on August 05, 2010, 20:40:41 PM

gracias for helping me out with this
i turned on the debug mode

here i am attaching the error i get



[attachment cleanup by admin]
Title: Re: Setting up USPS and getting an error
Post by: MIRADORO on August 05, 2010, 20:56:45 PM
account wasnt activated

it is working fine now

thanks
Title: Re: Setting up USPS and getting an error
Post by: SodaJim on August 11, 2010, 03:55:45 AM
Hello again,

I'm testing the "vm114-uspsv5.2010.04.05" VM Module and received errors while attempting to checkout...
I can see it separates the order into two packages, but fails when getting rates...
Any suggestions on what to modify or correct...?

J! --> 1.5.20
VM --> 1.1.5
Module --> vm114-uspsv5.2010.04.05
Plugin --> plgSystemCartRates-USPSv5

Please select a Shipping Method!
Debug: Starting Shipping module: uspsv5
Debug: uspsv5::list_rates() - Starting
Debug: Shipment::addPackage() Adding a new unbundled package
Debug: Shipment::addPackage() - Package Number: 1
Debug: Shipment::addPackage() - Package is Unbundled
Debug: Shipment::addPackage() - Maxweight: 70
Debug: Package::addItem() - ***** Adding item 138 (EP1 Condenser Fan Motor) to package #1 *****
Debug: Package::addItem() - Package weight is now: 3.06
Debug: Shipment::addPackage() Adding a new bundled package
Debug: Shipment::addPackage() - Package Number: 2
Debug: Shipment::addPackage() - Package is Bundled
Debug: Shipment::addPackage() - Maxweight: 70
Debug: Package::addItem() - ***** Adding item 112 (D100A V-39 Price Sticker) to package #2 *****
Debug: Package::addItem() - Package weight is now: 0.255
Debug: Package::addItem() - ***** Adding item 170 (P1 Door Liner) to package #2 *****
Debug: Package::addItem() - Package weight is now: 3.315
Debug: Package::addItem() - ***** Adding item 408 (HP20A Lock & Keys) to package #2 *****
Debug: Package::addItem() - Package weight is now: 3.825
Debug: Package::addItem() - ***** Adding item 114 (D100C C-51 Price Sticker) to package #2 *****
Debug: Package::addItem() - Package weight is now: 4.08
Debug: Package::addItem() - ***** Adding item 402 (HP1B Slider 55 Lid) to package #2 *****
Debug: Package::addItem() - Package weight is now: 12.75
Debug: Package::query_rates() - Querying for Source: US/ , Destination: US/34997, Weight: 3.06
Debug: uspsv5::get_rates_array() - Calculating domestic shipping.
XML Post:
http://http://testing.shippingapis.com/ShippingAPITest.dll/ShippingAPI.dll?API=RateV3&XML=<RateV3Request USERID="----------" PASSWORD="-----------"><Package ID="0"><Service>All</Service><ZipOrigination></ZipOrigination><ZipDestination>34997</ZipDestination><Pounds>3</Pounds><Ounces>1</Ounces><Size>REGULAR</Size><Machinable>FALSE</Machinable></Package></RateV3Request>
XML Result:
Notice: We are unable to obtain any USPS shipping methods at this time.
Debug: Package::query_rates() - Rate query returned null results.
Debug: Shipment::populate() - query_rates() failed.
Debug: uspsv5::list_rates() - shipment->populate() failed!
Notice: We are unable to ship via USPS at this time. System Error.


Thank you for your time!
Jim
Title: Re: Setting up USPS and getting an error
Post by: SodaJim on August 12, 2010, 01:03:06 AM
Hello,

I'm attempting to test things; however, I read in another thread that I should not connect to the "usps test server"...
http://forum.virtuemart.net/index.php?topic=46784.msg247629#msg247629 (http://forum.virtuemart.net/index.php?topic=46784.msg247629#msg247629)

Are we allowed to request connectivity to the production server, even though I would have felt better with a little testing...?

Thanks for any direction,
Jim
Title: Re: Setting up USPS and getting an error
Post by: SodaJim on August 14, 2010, 04:42:17 AM
Hello again,

I have obtained my "production server" URL from USPS.Com; however, I do not see what I may have done wrong to get this operational...
I'm still receiving errors displayed in debug mode and no shipping costs are available or calculated... debug is displaying similar information as my previous post

Any direction is greatly appreciated,
Jim
Title: Re: Setting up USPS and getting an error
Post by: SodaJim on August 16, 2010, 21:55:27 PM
Not attempting to be forward, but is anyone monitoring this thread...?


Thank you for your time!
Jim
Title: Re: Setting up USPS and getting an error
Post by: lowmips on August 17, 2010, 20:38:11 PM
Jim,
Your post went unseen probably because you tacked it on to someone else's.  In the future, start a new post for your issue, unless it is *exactly* the same issue as the original post.  Also, since you're using my particular module and are having issues with it, please use my module's thread to post your issue.  I have alerts turned on for when anyone posts.  It immediately sends me an email.

As for your issue, you're hooked up to the testing API.  You need to change that to the production API URL. I don't have it handy, but if you re-download the module and look in the config, the URL located there should work.

Reggie
Title: Re: Setting up USPS and getting an error
Post by: SodaJim on August 17, 2010, 22:55:35 PM
Thanks Reggie ! ! !

I have moved this here: USPS v5 - Bundled and Unbundled shipping Errors (http://forum.virtuemart.net/index.php?topic=46784.msg248779#msg248779)