<?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 Payment Library for Paypal, Authorize.net and 2Checkout</title>
	<atom:link href="http://phpfour.com/blog/2009/02/php-payment-gateway-library-for-paypal-authorizenet-and-2checkout/feed/" rel="self" type="application/rss+xml" />
	<link>http://phpfour.com/blog/2009/02/php-payment-gateway-library-for-paypal-authorizenet-and-2checkout/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=php-payment-gateway-library-for-paypal-authorizenet-and-2checkout</link>
	<description>The everyday sharing of Emran Hasan on software development.</description>
	<lastBuildDate>Wed, 25 Jan 2012 15:11:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Shelim Ekbal Hussain</title>
		<link>http://phpfour.com/blog/2009/02/php-payment-gateway-library-for-paypal-authorizenet-and-2checkout/#comment-40621</link>
		<dc:creator>Shelim Ekbal Hussain</dc:creator>
		<pubDate>Fri, 06 Jan 2012 12:39:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfour.com/blog/?p=207#comment-40621</guid>
		<description>Thanks....Emran bhai...very good code.</description>
		<content:encoded><![CDATA[<p>Thanks&#8230;.Emran bhai&#8230;very good code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: soulreafer</title>
		<link>http://phpfour.com/blog/2009/02/php-payment-gateway-library-for-paypal-authorizenet-and-2checkout/#comment-39915</link>
		<dc:creator>soulreafer</dc:creator>
		<pubDate>Wed, 28 Dec 2011 21:55:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfour.com/blog/?p=207#comment-39915</guid>
		<description>ipn script generator to fix the paypal problems:
https://www.paypaltech.com/SG2/PHPfunctionalityparse.php</description>
		<content:encoded><![CDATA[<p>ipn script generator to fix the paypal problems:<br />
<a href="https://www.paypaltech.com/SG2/PHPfunctionalityparse.php" rel="nofollow">https://www.paypaltech.com/SG2/PHPfunctionalityparse.php</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: soulreafer</title>
		<link>http://phpfour.com/blog/2009/02/php-payment-gateway-library-for-paypal-authorizenet-and-2checkout/#comment-39914</link>
		<dc:creator>soulreafer</dc:creator>
		<pubDate>Wed, 28 Dec 2011 21:45:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfour.com/blog/?p=207#comment-39914</guid>
		<description>I have an other IPN Script. It should work but i cant convert it to work with this script.
can someone help me to fix the IPN part?

     $value) {  
    $value = urlencode(stripslashes($value));  
    $req .= &quot;&amp;$key=$value&quot;;  
    }  
    // post back to PayPal system to validate  
    $header = &quot;POST /cgi-bin/webscr HTTP/1.0\r\n&quot;;  
    $header .= &quot;Content-Type: application/x-www-form-urlencoded\r\n&quot;;  
    $header .= &quot;Content-Length: &quot; . strlen($req) . &quot;\r\n\r\n&quot;;  
      
    $fp = fsockopen (&#039;ssl://www.sandbox.paypal.com&#039;, 443, $errno, $errstr, 30);  
      
    if (!$fp) {  
    // HTTP ERROR  
    } else {  
    fputs ($fp, $header . $req);  
    while (!feof($fp)) {  
    $res = fgets ($fp, 1024);  
    if (strcmp ($res, &quot;VERIFIED&quot;) == 0) {  
      
    // PAYMENT VALIDATED &amp; VERIFIED!  
    
$text = &quot;jo\n&quot;; // Dateiinhalt
$dateiname = &quot;daten.txt&quot;; // Name der Datei
// Datei öffnen,
// wenn nicht vorhanden dann wird die Datei erstellt.
$handler = fOpen($dateiname , &quot;a+&quot;);
// Dateiinhalt in die Datei schreiben
fWrite($handler , $fp);
fClose($handler); // Datei schließen



    }  
      
    else if (strcmp ($res, &quot;INVALID&quot;) == 0) {  
      
    // PAYMENT INVALID &amp; INVESTIGATE MANUALY!  


$text = &quot;no\n&quot;; // Dateiinhalt
$dateiname = &quot;daten.txt&quot;; // Name der Datei
// Datei öffnen,
// wenn nicht vorhanden dann wird die Datei erstellt.
$handler = fOpen($dateiname , &quot;a+&quot;);
// Dateiinhalt in die Datei schreiben
fWrite($handler , $text);
fClose($handler); // Datei schließen


    }  
    }  
    fclose ($fp);  
    }  
    ?&gt;</description>
		<content:encoded><![CDATA[<p>I have an other IPN Script. It should work but i cant convert it to work with this script.<br />
can someone help me to fix the IPN part?</p>
<p>     $value) {<br />
    $value = urlencode(stripslashes($value));<br />
    $req .= &#8220;&amp;$key=$value&#8221;;<br />
    }<br />
    // post back to PayPal system to validate<br />
    $header = &#8220;POST /cgi-bin/webscr HTTP/1.0\r\n&#8221;;<br />
    $header .= &#8220;Content-Type: application/x-www-form-urlencoded\r\n&#8221;;<br />
    $header .= &#8220;Content-Length: &#8221; . strlen($req) . &#8220;\r\n\r\n&#8221;;  </p>
<p>    $fp = fsockopen (&#8216;ssl://www.sandbox.paypal.com&#8217;, 443, $errno, $errstr, 30);  </p>
<p>    if (!$fp) {<br />
    // HTTP ERROR<br />
    } else {<br />
    fputs ($fp, $header . $req);<br />
    while (!feof($fp)) {<br />
    $res = fgets ($fp, 1024);<br />
    if (strcmp ($res, &#8220;VERIFIED&#8221;) == 0) {  </p>
<p>    // PAYMENT VALIDATED &amp; VERIFIED!  </p>
<p>$text = &#8220;jo\n&#8221;; // Dateiinhalt<br />
$dateiname = &#8220;daten.txt&#8221;; // Name der Datei<br />
// Datei öffnen,<br />
// wenn nicht vorhanden dann wird die Datei erstellt.<br />
$handler = fOpen($dateiname , &#8220;a+&#8221;);<br />
// Dateiinhalt in die Datei schreiben<br />
fWrite($handler , $fp);<br />
fClose($handler); // Datei schließen</p>
<p>    }  </p>
<p>    else if (strcmp ($res, &#8220;INVALID&#8221;) == 0) {  </p>
<p>    // PAYMENT INVALID &amp; INVESTIGATE MANUALY!  </p>
<p>$text = &#8220;no\n&#8221;; // Dateiinhalt<br />
$dateiname = &#8220;daten.txt&#8221;; // Name der Datei<br />
// Datei öffnen,<br />
// wenn nicht vorhanden dann wird die Datei erstellt.<br />
$handler = fOpen($dateiname , &#8220;a+&#8221;);<br />
// Dateiinhalt in die Datei schreiben<br />
fWrite($handler , $text);<br />
fClose($handler); // Datei schließen</p>
<p>    }<br />
    }<br />
    fclose ($fp);<br />
    }<br />
    ?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jinita jangid</title>
		<link>http://phpfour.com/blog/2009/02/php-payment-gateway-library-for-paypal-authorizenet-and-2checkout/#comment-39459</link>
		<dc:creator>jinita jangid</dc:creator>
		<pubDate>Thu, 22 Dec 2011 08:53:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfour.com/blog/?p=207#comment-39459</guid>
		<description>how i can add multiple product in paypal</description>
		<content:encoded><![CDATA[<p>how i can add multiple product in paypal</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PHP编程中常用到20个的PHP类库 &#124; 博客水木</title>
		<link>http://phpfour.com/blog/2009/02/php-payment-gateway-library-for-paypal-authorizenet-and-2checkout/#comment-39174</link>
		<dc:creator>PHP编程中常用到20个的PHP类库 &#124; 博客水木</dc:creator>
		<pubDate>Mon, 19 Dec 2011 01:49:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfour.com/blog/?p=207#comment-39174</guid>
		<description>[...] PHP Payment Library - 支持Paypal, Authorize.net 和2Checkout (2CO) [...]</description>
		<content:encoded><![CDATA[<p>[...] PHP Payment Library &#8211; 支持Paypal, Authorize.net 和2Checkout (2CO) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vishnu</title>
		<link>http://phpfour.com/blog/2009/02/php-payment-gateway-library-for-paypal-authorizenet-and-2checkout/#comment-39159</link>
		<dc:creator>Vishnu</dc:creator>
		<pubDate>Sun, 18 Dec 2011 20:47:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfour.com/blog/?p=207#comment-39159</guid>
		<description>Hello Emran Hasan,
Nice work man, can u help me how to use paypal payment in normal mode rather than in sandbox. please help me. thank you</description>
		<content:encoded><![CDATA[<p>Hello Emran Hasan,<br />
Nice work man, can u help me how to use paypal payment in normal mode rather than in sandbox. please help me. thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramlal Solanki</title>
		<link>http://phpfour.com/blog/2009/02/php-payment-gateway-library-for-paypal-authorizenet-and-2checkout/#comment-38183</link>
		<dc:creator>Ramlal Solanki</dc:creator>
		<pubDate>Thu, 08 Dec 2011 10:19:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfour.com/blog/?p=207#comment-38183</guid>
		<description>Dear sir Your code us very excellent.
I have a little problem during authorize.

A415	Error 13: The merchant login ID or password is invalid or the account is inactive.
 
I have add correct info in that variable 
$myAuthorize-&gt;setUserInfo(&#039;&#039;, &#039;&#039;);</description>
		<content:encoded><![CDATA[<p>Dear sir Your code us very excellent.<br />
I have a little problem during authorize.</p>
<p>A415	Error 13: The merchant login ID or password is invalid or the account is inactive.</p>
<p>I have add correct info in that variable<br />
$myAuthorize-&gt;setUserInfo(&#8221;, &#8221;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: monggos</title>
		<link>http://phpfour.com/blog/2009/02/php-payment-gateway-library-for-paypal-authorizenet-and-2checkout/#comment-34077</link>
		<dc:creator>monggos</dc:creator>
		<pubDate>Thu, 24 Nov 2011 21:42:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfour.com/blog/?p=207#comment-34077</guid>
		<description>.......

$myPaypal-&gt;addField(&#039;cmd&#039;, &#039;_cart&#039;);
$myPaypal-&gt;addField(&#039;upload&#039;, &#039;1&#039;);

......

// 1st product added..
$myPaypal-&gt;addField(&#039;item_number_1&#039;, &#039;XXXX&#039;);
$myPaypal-&gt;addField(&#039;item_name_1&#039;, &#039;Product 1&#039;);
$myPaypal-&gt;addField(&#039;amount_1&#039;, 10.00);
$myPaypal-&gt;addField(&#039;quantity_1&#039;, 2);

// 2nd
$myPaypal-&gt;addField(&#039;item_number_2&#039;, &#039;YYYY&#039;);
$myPaypal-&gt;addField(&#039;item_name_2&#039;, &#039;Product 2&#039;);
$myPaypal-&gt;addField(&#039;amount_2&#039;, 50.00);
$myPaypal-&gt;addField(&#039;quantity_1&#039;, 2);</description>
		<content:encoded><![CDATA[<p>&#8230;&#8230;.</p>
<p>$myPaypal-&gt;addField(&#8216;cmd&#8217;, &#8216;_cart&#8217;);<br />
$myPaypal-&gt;addField(&#8216;upload&#8217;, &#8217;1&#8242;);</p>
<p>&#8230;&#8230;</p>
<p>// 1st product added..<br />
$myPaypal-&gt;addField(&#8216;item_number_1&#8242;, &#8216;XXXX&#8217;);<br />
$myPaypal-&gt;addField(&#8216;item_name_1&#8242;, &#8216;Product 1&#8242;);<br />
$myPaypal-&gt;addField(&#8216;amount_1&#8242;, 10.00);<br />
$myPaypal-&gt;addField(&#8216;quantity_1&#8242;, 2);</p>
<p>// 2nd<br />
$myPaypal-&gt;addField(&#8216;item_number_2&#8242;, &#8216;YYYY&#8217;);<br />
$myPaypal-&gt;addField(&#8216;item_name_2&#8242;, &#8216;Product 2&#8242;);<br />
$myPaypal-&gt;addField(&#8216;amount_2&#8242;, 50.00);<br />
$myPaypal-&gt;addField(&#8216;quantity_1&#8242;, 2);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paulo Coutinho</title>
		<link>http://phpfour.com/blog/2009/02/php-payment-gateway-library-for-paypal-authorizenet-and-2checkout/#comment-34004</link>
		<dc:creator>Paulo Coutinho</dc:creator>
		<pubDate>Thu, 24 Nov 2011 14:41:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfour.com/blog/?p=207#comment-34004</guid>
		<description>Hi,

I need the library with recurring payment for paypal, its urgent :(

Can someone send me it? email: paulo(at)prsolucoes.com

Please i need too much.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I need the library with recurring payment for paypal, its urgent <img src='http://phpfour.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Can someone send me it? email: paulo(at)prsolucoes.com</p>
<p>Please i need too much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://phpfour.com/blog/2009/02/php-payment-gateway-library-for-paypal-authorizenet-and-2checkout/#comment-33281</link>
		<dc:creator>James</dc:creator>
		<pubDate>Mon, 21 Nov 2011 19:15:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfour.com/blog/?p=207#comment-33281</guid>
		<description>Hello!

Thank you for a great library.
I am just wondering how I can port this to Codeigniter? Have you already done it?

Thanks!</description>
		<content:encoded><![CDATA[<p>Hello!</p>
<p>Thank you for a great library.<br />
I am just wondering how I can port this to Codeigniter? Have you already done it?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: phpfour.com @ 2012-02-07 20:10:17 -->
