<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: PHP: USPS rates calculator</title>
	<atom:link href="http://www.varnagiris.net/2006/05/04/php-usps-rates-calculator/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.varnagiris.net/2006/05/04/php-usps-rates-calculator/</link>
	<description>sometimes blogging about technologies</description>
	<lastBuildDate>Fri, 25 Nov 2011 03:24:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Rajinder Sharma</title>
		<link>http://www.varnagiris.net/2006/05/04/php-usps-rates-calculator/comment-page-2/#comment-5778</link>
		<dc:creator>Rajinder Sharma</dc:creator>
		<pubDate>Wed, 02 Nov 2011 05:45:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.varnagiris.net/2006/05/04/php-usps-rates-calculator/#comment-5778</guid>
		<description>am also getting the same error..

API Authorization failure. IntlRate is not a valid API name for this protocol.

Please help…</description>
		<content:encoded><![CDATA[<p>am also getting the same error..</p>
<p>API Authorization failure. IntlRate is not a valid API name for this protocol.</p>
<p>Please help…</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mauricio</title>
		<link>http://www.varnagiris.net/2006/05/04/php-usps-rates-calculator/comment-page-2/#comment-5711</link>
		<dc:creator>Mauricio</dc:creator>
		<pubDate>Tue, 05 Jul 2011 22:28:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.varnagiris.net/2006/05/04/php-usps-rates-calculator/#comment-5711</guid>
		<description>hi, egain.

international rates don&#039;t work...


USPS Object
(
    [server] =&gt; http://testing.shippingapis.com/ShippingAPITest.dll
    [user] =&gt; xxxxxxxxxxx
    [pass] =&gt; 
    [service] =&gt; 
    [dest_zip] =&gt; 
    [orig_zip] =&gt; 
    [pounds] =&gt; 10
    [ounces] =&gt; 0
    [container] =&gt; None
    [size] =&gt; REGULAR
    [machinable] =&gt; 
    [country] =&gt; Albania
    [error] =&gt; error Object
        (
            [number] =&gt; 80040b1a
            [source] =&gt; UspsCom::DoAuth
            [description] =&gt; API Authorization failure. IntlRate is not a valid API name for this protocol.
            [helpcontext] =&gt; 
            [helpfile] =&gt; 
        )

)</description>
		<content:encoded><![CDATA[<p>hi, egain.</p>
<p>international rates don&#8217;t work&#8230;</p>
<p>USPS Object<br />
(<br />
    [server] => <a href="http://testing.shippingapis.com/ShippingAPITest.dll" rel="nofollow">http://testing.shippingapis.com/ShippingAPITest.dll</a><br />
    [user] => xxxxxxxxxxx<br />
    [pass] =><br />
    [service] =><br />
    [dest_zip] =><br />
    [orig_zip] =><br />
    [pounds] => 10<br />
    [ounces] => 0<br />
    [container] => None<br />
    [size] => REGULAR<br />
    [machinable] =><br />
    [country] => Albania<br />
    [error] => error Object<br />
        (<br />
            [number] => 80040b1a<br />
            [source] => UspsCom::DoAuth<br />
            [description] => API Authorization failure. IntlRate is not a valid API name for this protocol.<br />
            [helpcontext] =><br />
            [helpfile] =><br />
        )</p>
<p>)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mauricio</title>
		<link>http://www.varnagiris.net/2006/05/04/php-usps-rates-calculator/comment-page-2/#comment-5710</link>
		<dc:creator>Mauricio</dc:creator>
		<pubDate>Tue, 05 Jul 2011 16:29:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.varnagiris.net/2006/05/04/php-usps-rates-calculator/#comment-5710</guid>
		<description>International rates don’t work :(

a blank page with USPS Rates title.

please help..</description>
		<content:encoded><![CDATA[<p>International rates don’t work :(</p>
<p>a blank page with USPS Rates title.</p>
<p>please help..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manish</title>
		<link>http://www.varnagiris.net/2006/05/04/php-usps-rates-calculator/comment-page-2/#comment-5646</link>
		<dc:creator>Manish</dc:creator>
		<pubDate>Fri, 18 Mar 2011 07:50:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.varnagiris.net/2006/05/04/php-usps-rates-calculator/#comment-5646</guid>
		<description>I am also getting the same error..

API Authorization failure. IntlRate is not a valid API name for this protocol.

Please help...</description>
		<content:encoded><![CDATA[<p>I am also getting the same error..</p>
<p>API Authorization failure. IntlRate is not a valid API name for this protocol.</p>
<p>Please help&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexey</title>
		<link>http://www.varnagiris.net/2006/05/04/php-usps-rates-calculator/comment-page-2/#comment-5636</link>
		<dc:creator>Alexey</dc:creator>
		<pubDate>Mon, 07 Mar 2011 14:40:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.varnagiris.net/2006/05/04/php-usps-rates-calculator/#comment-5636</guid>
		<description>Hi,

International rates don’t work :(

This is the error Message
API Authorization failure. IntlRate is not a valid API name for this protocol.

Help please:)</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>International rates don’t work :(</p>
<p>This is the error Message<br />
API Authorization failure. IntlRate is not a valid API name for this protocol.</p>
<p>Help please:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://www.varnagiris.net/2006/05/04/php-usps-rates-calculator/comment-page-2/#comment-5602</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Fri, 04 Feb 2011 20:10:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.varnagiris.net/2006/05/04/php-usps-rates-calculator/#comment-5602</guid>
		<description>RE Implementation problems some are having: USPS returns an object, which can be converted into an array if you want to get up and running quickly. (PHP 5+ does not do this automatically anymore) Use the objectToArray function found here: http://www.phpro.org/examples/Convert-Object-To-Array-With-PHP.html.  (Reposting due to cutoff text)

USPS Rates

setServer(&quot;http://testing.shippingapis.com/ShippingAPITest.dll&quot;);
$usps-&gt;setUserName(&quot;650SQUIS8177&quot;);
$usps-&gt;setService(&quot;All&quot;);
$usps-&gt;setDestZip(&quot;20008&quot;);
$usps-&gt;setOrigZip(&quot;10022&quot;);
$usps-&gt;setWeight(10, 5);
$usps-&gt;setContainer(&quot;Flat Rate Box&quot;);
$usps-&gt;setCountry(&quot;USA&quot;);
$usps-&gt;setMachinable(&quot;true&quot;);
$usps-&gt;setSize(&quot;LARGE&quot;);
$price = $usps-&gt;getPrice(); 
print_r($price); 
$arrayprice=objectToArray($price); // convert object to array

echo &#039;This is the price for&#039; . $arrayprice[&#039;list&#039;][1][&#039;mailservice&#039;] . &#039;: &#039; .  . &#039;
This is the price for &#039; . $arrayprice[&#039;list&#039;][2][&#039;mailservice&#039;] . &#039; :&#039; . $arrayprice[&#039;list&#039;][2][&#039;rate&#039;] . &#039;&#039;;
?&gt;
</description>
		<content:encoded><![CDATA[<p>RE Implementation problems some are having: USPS returns an object, which can be converted into an array if you want to get up and running quickly. (PHP 5+ does not do this automatically anymore) Use the objectToArray function found here: <a href="http://www.phpro.org/examples/Convert-Object-To-Array-With-PHP.html" rel="nofollow">http://www.phpro.org/examples/Convert-Object-To-Array-With-PHP.html</a>.  (Reposting due to cutoff text)</p>
<p>USPS Rates</p>
<p>setServer(&#8220;http://testing.shippingapis.com/ShippingAPITest.dll&#8221;);<br />
$usps->setUserName(&#8220;650SQUIS8177&#8243;);<br />
$usps->setService(&#8220;All&#8221;);<br />
$usps->setDestZip(&#8220;20008&#8243;);<br />
$usps->setOrigZip(&#8220;10022&#8243;);<br />
$usps->setWeight(10, 5);<br />
$usps->setContainer(&#8220;Flat Rate Box&#8221;);<br />
$usps->setCountry(&#8220;USA&#8221;);<br />
$usps->setMachinable(&#8220;true&#8221;);<br />
$usps->setSize(&#8220;LARGE&#8221;);<br />
$price = $usps->getPrice();<br />
print_r($price);<br />
$arrayprice=objectToArray($price); // convert object to array</p>
<p>echo &#8216;This is the price for&#8217; . $arrayprice['list'][1]['mailservice'] . &#8216;: &#8216; .  . &#8216;<br />
This is the price for &#8216; . $arrayprice['list'][2]['mailservice'] . &#8216; :&#8217; . $arrayprice['list'][2]['rate'] . &#8221;;<br />
?></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aiks</title>
		<link>http://www.varnagiris.net/2006/05/04/php-usps-rates-calculator/comment-page-2/#comment-4503</link>
		<dc:creator>Aiks</dc:creator>
		<pubDate>Thu, 18 Nov 2010 18:29:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.varnagiris.net/2006/05/04/php-usps-rates-calculator/#comment-4503</guid>
		<description>It don&#039;t work. Got the valid zip msg. Any idea?</description>
		<content:encoded><![CDATA[<p>It don&#8217;t work. Got the valid zip msg. Any idea?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.varnagiris.net/2006/05/04/php-usps-rates-calculator/comment-page-2/#comment-4478</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Fri, 01 Oct 2010 15:43:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.varnagiris.net/2006/05/04/php-usps-rates-calculator/#comment-4478</guid>
		<description>I&#039;m also getting &quot;Please enter a valid ZIP Code for the sender.&quot; I&#039;m on production, so why can&#039;t I enter whatever zip codes I want?

This is not working for me.</description>
		<content:encoded><![CDATA[<p>I&#8217;m also getting &#8220;Please enter a valid ZIP Code for the sender.&#8221; I&#8217;m on production, so why can&#8217;t I enter whatever zip codes I want?</p>
<p>This is not working for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: usmanabdulrazzaq</title>
		<link>http://www.varnagiris.net/2006/05/04/php-usps-rates-calculator/comment-page-2/#comment-4475</link>
		<dc:creator>usmanabdulrazzaq</dc:creator>
		<pubDate>Tue, 28 Sep 2010 09:21:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.varnagiris.net/2006/05/04/php-usps-rates-calculator/#comment-4475</guid>
		<description>Hi,

Domestic rates work fine, but the international don’t.

This is the error Message 
API Authorization failure. IntlRate is not a valid API name for this protocol.

Thanks in Advnace</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Domestic rates work fine, but the international don’t.</p>
<p>This is the error Message<br />
API Authorization failure. IntlRate is not a valid API name for this protocol.</p>
<p>Thanks in Advnace</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pawan</title>
		<link>http://www.varnagiris.net/2006/05/04/php-usps-rates-calculator/comment-page-2/#comment-4468</link>
		<dc:creator>pawan</dc:creator>
		<pubDate>Thu, 23 Sep 2010 07:07:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.varnagiris.net/2006/05/04/php-usps-rates-calculator/#comment-4468</guid>
		<description>please provide me way of implementation(process) of usps after rate calculator.actully i want to know about reallty implementation of usps.thanks</description>
		<content:encoded><![CDATA[<p>please provide me way of implementation(process) of usps after rate calculator.actully i want to know about reallty implementation of usps.thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

