<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Prodigal Programming &#187; PHP Code</title>
	<atom:link href="http://www.prodigalprogramming.com/category/php-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.prodigalprogramming.com</link>
	<description>For A More Open World</description>
	<lastBuildDate>Tue, 05 Apr 2011 19:02:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>PHP and CURL API for connecting to Authorize.Net AIM Protocol</title>
		<link>http://www.prodigalprogramming.com/2009/10/18/php-and-curl-api-for-connecting-to-authorize-net-aim-protocol/</link>
		<comments>http://www.prodigalprogramming.com/2009/10/18/php-and-curl-api-for-connecting-to-authorize-net-aim-protocol/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 06:05:38 +0000</pubDate>
		<dc:creator>Hollow</dc:creator>
				<category><![CDATA[PHP Code]]></category>
		<category><![CDATA[PHP How-To's]]></category>

		<guid isPermaLink="false">http://www.prodigalprogramming.com/?p=22</guid>
		<description><![CDATA[For a project I was working on recently I had to build a completely custom cart and checkout system, which had to use Authorize.Nets AIM protocol for processing credit card payments, as such I spent lots of time identifying the response codes that could come back from Authorize.Net on both failure and success, and even [...]]]></description>
			<content:encoded><![CDATA[<p>For a project I was working on recently I had to build a completely custom cart and checkout system, which had to use Authorize.Nets AIM protocol for processing credit card payments, as such I spent lots of time identifying the response codes that could come back from Authorize.Net on both failure and success, and even more time writing &#8220;sanitized/English&#8221; explanations to present to the customer for each one.</p>
<p>It&#8217;s written in PHP and uses CURL, but don&#8217;t worry there isn&#8217;t any extra CURL work involved, just make sure it&#8217;s installed on the server you&#8217;re planning to use it on, I&#8217;ve had to cut out a lot of things like database usernames and passwords and replace them with generic ones, of course I&#8217;ve also had to strip out things like the customers Authorize Login details, so you&#8217;ll need to obtain some of your own, either customer details or developer details, in order to test it and you&#8217;ll also need to find your own way of getting the variable information needed from your own site setup, to pass to the checkout.php document and insert some code into your own html templates etc etc etc, however it&#8217;s a very big head-start which has been tried, tested and implemented so I&#8217;m releasing it for download here.</p>
<p>I haven&#8217;t written a download.php document just yet to manage and log downloads, but I will be doing, so the link below WILL change in the near future, just for those who plan to re-download later or simply pass on the link etc.</p>
<p>For now you can download it from <a href="http://www.prodigalprogramming.com/downloads/PPAuthorize-1.0.0.tar.gz">PPAuthorize-1.0.0.tar.gz</a>.</p>
<p>To unzip it you&#8217;ll need to use something like WinRAR, WinZip or Ark if you&#8217;re on an intelligent Operating System (*COUGH* Linux *COUGH*) or if you&#8217;re wanting to unzip via the command line on Linux you can simply do the following:</p>
<p>tar -xvzf PPAuthorize-1.0.0.tar.gz</p>
<p>to &#8216;untar&#8217; the files in the current folder.</p>
<p>If anyone has any useful bits that could be added to this, please feel free to comment here, or when I&#8217;ve written the contact form (Lots of things still in progress here) you can use that instead to let me know.</p>
<p>CREDITS: Written entirely by me except for a couple of snippets of code which are freely available on the <a href="http://developer.authorize.net/samplecode/">Authorize.Net developer site</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prodigalprogramming.com/2009/10/18/php-and-curl-api-for-connecting-to-authorize-net-aim-protocol/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

