

$39.95
[ BUY
NOW ][ DOCUMENTATION ][ DOWNLOAD FREE TRIAL ] [ DEMO ]
EasyAuthNet is a set of class objects that allow for quick and
easy website integration into the Authorize.net (and other Authorize.net API) gateway and
allow you to accept customer credit card transaction information from your website, and
post it via SSL to the authorize.net gateway without ever leaving your website.
Features
- Easy Installation and
Configuration.
- Supports both AIM, and SIM
integration methods.
- Supports both Credit Card and
eCheck transactions.
- Built -in Form Object allows
you to create HTML forms in minutes.
- Customizable Client Side
Validation.
- Programmable Form Controls.
- Supports Wells Fargo /
SecureSource transactions
- Supports other Authorizenet
API Interfaces such as: Planet Payment, and Quick Commerce.
- Automatically tracks customer IP
- Layered Encryption
of Authorize Merchant Login information
- Sample scripts allow you to
quickly integrate your website to the Authorizenet gateway.
Requirements
- PHP 4.2+
- CURL
- mcrypt Version >= 2.4.x.
- ionCube Loader (included in package)
- Authorizenet or Authorizenet
API Merchant Account.
- Some knowledge of the
Authorizenet API.
- Knowledge of the Authorizenet
Merchant Account Interface.
AIM
Demo
SIM Demo
AIM Sample
Below is an example of an AIM transaction which uses the same page as the
handler page. We will check to see if the page was posted back to itself, and if it was
then we will try to authorize the transaction else we will display the form. You can also
use separate pages in which the code would be split between the two.
<?php
//Load the EasyAuthNet library
include('snp_easyauthnet.php');
//Instantiate an AIM Transaction WO/ SecureSource
$ta = new AIM();
//Since we are using the same page as the handler page, we will check
//to see if the page was posted back to itself. If so then authorize the
//transaction, else display the form.
if ($ta->IsPostBack())
{
//If the authorization was successful
if($ta->Authorize())
{
//In this case we are simply displaying
the response results
//You will most likely want to do
additional proccessing.
echo "<b>Response Object
Contents:</b><br>";
$ta->DisplayResponseInfo();
}else{
echo "Could not Authorize
Transaction<br>";
}
}else{
//Add a new form
$ta->AddForm("My Form");
//Add some additional fields
$ta->AddField("x_Description",2,1,1,"","TestDesc");
$ta->AddField("x_invoice_num",50,1,1,"","01");
//Dispaly the form
echo $ta->FormToHTML();
}
?>
SIM Sample
Below is an example of a SIM transaction. The SIM integration method allows you
to authorize credit cards without having to have SSL installed on your web server.
This is because all secure data is entered while using the Authorize.net's secure
Payment Form on their website. There are two ways to return a response here. The
first is to request a relay response. This will post the data back to the URL of your
choice. Here we use the same page as the relay URL. The second is to use the
Authorize.net Payment Form & Receipt Page.
<?php
$ta = new SIM();
//If there is no response then we have not submitted the tranaction
//so display the form
if (!$ta->CheckForResponse())
{
$ta->AddField("x_Description",2,1,1,"","TestDesc");
$ta->AddField("x_invoice_num",50,1,1,"","01");
$ta->AddForm("My Form","",false);
$ta->ShowPayForm(true);
//If you want to use the Authorizenet Receipt Page then
//
$ta->UseRelay("http://yourdomain/handlerpage.php");
echo $ta->FormToHTML();
}else{
if ($ta->Response->Successfull())
{
echo "<b>Response Object
Contents:</b><br>";
$ta->DisplayResponseInfo();
echo "<br>";
echo "<b>Field Object
Contents:</b><br>";
$ta->DisplayFieldInfo(true);
}else{
echo "Could not Authorize
Transaction<br>";
}
}
?>
[ BUY
NOW ][ DOCUMENTATION ][ DOWNLOAD FREE TRIAL ] [ DEMO ][ BACK TO TOP ]
|