jupe has asked for the wisdom of the Perl Monks concerning the following question:

Since the website of the author of this module, Business::Shipping no longer seems to be responding, I bring my question to the monks.

I have this module successfully returning shipping rate requests for domestic priority USPS packages. However, when I try and query for international rates, no matter what shipping service type I have tried, it always returns "The requested service ({service name}) did not match any of the services available for that country."

Are their any monks here who know what service type I should use for international USPS shipping? I have tried PRIORITY, Envelope, Package, Priority Mail International, and leaving it black. Any help would be most appreciated, thanks!

Replies are listed 'Best First'.
Re: Question about Business::Shipping
by jupe (Beadle) on Nov 23, 2008 at 20:30 UTC
    Well, I found the answer, and for the sake of documentation (since this is incredibly poorly documented), I'll jot down the important bits. First, setting the service to 'all' for international shipping on USPS will give a list of every service with the rate and name (that was the sekret part I couldn't figure out). Here is a Dumper of the array that is returned from a sample query: To request a specific quote, you use the corresponding name from this object in the service=>'' attribute.