{"id":205,"date":"2006-11-21T14:36:10","date_gmt":"2006-11-21T21:36:10","guid":{"rendered":"http:\/\/www.merchantaccountblog.com\/archives\/205"},"modified":"2009-01-06T11:50:47","modified_gmt":"2009-01-06T16:50:47","slug":"integrate-a-website-with-authorizenet","status":"publish","type":"post","link":"https:\/\/www.merchantequip.com\/merchant-account-blog\/205\/integrate-a-website-with-authorizenet","title":{"rendered":"Integrate a website with Authorize.net"},"content":{"rendered":"<p>The <a href=\"http:\/\/www.merchant-account-services.org\/blog\">merchant account services blog<\/a>, just came out with a guide on integrating a website with Authorize.net.<\/p>\n<p>The guide is written for websites using PHP 5, Curl, and SSL to connect a website to authorize.net using the API method (Known as AIM with Authorize.net).<\/p>\n<p>PHP 5 is required for this particular script. There are several PHP 5+ functions that will make the script completely incompatible with PHP 4. Unfortunately a good percentage of servers are still using PHP 4. Apart from that, it looks like this guide should be all that a developer needs to successfully integrate authorize.net into a shopping cart system.<\/p>\n<p>I really like the feature where the script automatically retries a transaction 3 times if there is an error. This can be common with payment gateways, and it&#8217;s definitely not good to return an error or declined message if you absolutely don&#8217;t have to. The script also validates the card number using a simple version of the LUHN algorithm to verify the card number against a check-sum, in addition to performing basic card number and expiration date checks. <\/p>\n<p>When it&#8217;s all said and done the script will return an approved, error or declined message for your customer&#8217;s transaction, and you can send them to whatever page or message on your website that you want.<\/p>\n<p>This script is complete, but I don&#8217;t think that a new programmer should change anything they don&#8217;t understand, because they have the potential to open security holes if their programming gets broken. This is especially important since this script will transfer sensitive information across web servers.<\/p>\n<p>There are a variety of free and paid scripts out there, but this one is written by a competent group of individuals that have extensive knowledge of payment processing, web development, and web security, so I highly recommend it.<\/p>\n<p>Check it out:<br \/>\n<a href=\"http:\/\/www.merchant-account-services.org\/article\/authorize-net-php-integration\/\">Integrate the Authorize.net Payment Gateway with PHP<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The merchant account services blog, just came out with a guide on integrating a website with Authorize.net. The guide is written for websites using PHP 5, Curl, and SSL to connect a website to authorize.net using the API method (Known as AIM with Authorize.net). PHP 5 is required for this particular script. There are several [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,1],"tags":[],"class_list":["post-205","post","type-post","status-publish","format-standard","hentry","category-ecommerce","category-merchantaccounts"],"_links":{"self":[{"href":"https:\/\/www.merchantequip.com\/merchant-account-blog\/wp-json\/wp\/v2\/posts\/205","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.merchantequip.com\/merchant-account-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.merchantequip.com\/merchant-account-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.merchantequip.com\/merchant-account-blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.merchantequip.com\/merchant-account-blog\/wp-json\/wp\/v2\/comments?post=205"}],"version-history":[{"count":1,"href":"https:\/\/www.merchantequip.com\/merchant-account-blog\/wp-json\/wp\/v2\/posts\/205\/revisions"}],"predecessor-version":[{"id":498,"href":"https:\/\/www.merchantequip.com\/merchant-account-blog\/wp-json\/wp\/v2\/posts\/205\/revisions\/498"}],"wp:attachment":[{"href":"https:\/\/www.merchantequip.com\/merchant-account-blog\/wp-json\/wp\/v2\/media?parent=205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.merchantequip.com\/merchant-account-blog\/wp-json\/wp\/v2\/categories?post=205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.merchantequip.com\/merchant-account-blog\/wp-json\/wp\/v2\/tags?post=205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}