/** 
 * Create new Regular Transaction.
 */
$Auth = new AuthorizeNet('YOUR_LOGIN_ID', 'YOUR_TRANS_KEY');
// Merchant's unique API Login ID and Transaction Key
$Auth->setEnvironment('test');
// 'test' (default) or 'live'
$Auth->setTransactionType('AUTH_CAPTURE');
// AUTH_CAPTURE (default), AUTH_ONLY, CAPTURE_ONLY, CREDIT, PRIOR_AUTH_CAPTURE, VOID
$Auth->setPaymentMethod('CC');
// Payment Method - CC (default) or ECHECK
$Auth->setAmount('160.25', TRUE);
// Amount
$Auth->setCCNumber('378282246310005');
// Credit card number
$Auth->setCVV('4685');
// The three- or four-digit number on the back of a credit card
$Auth->setExpiration('11/12');
// Expiration date - MMYY, MM/YY, MM-YY, MMYYYY, MM/YYYY, MM-YYYY
$Auth->setPaymentDescription('New Sale on Product 232');
// Description of the Transaction.
$Auth->setCustomerFirstName('Richard');
// Customer First Name
$Auth->setCustomerLastName('Castera');
// Customer Last Name
$Auth->setCustomerCompany('Nice Emails');
// Customer's Company Name
$Auth->setCustomerAddress('589 8th Ave Suite 10');
// Customer's Billing Address
$Auth->setCustomerCity('New York');
// Customer's Billing City