RE: Authorize.net Consolidated v.1.0 for AIM

Austin519 <[email protected]> 22 Aug 2003 22:31:14 -0000
Newsgroups gmane.comp.web.oscommerce.features
Message-ID <65cc79a489b6693cdd22efc42eb228ed@osCommerce-Forums>
This message was sent from: Features
http://forums.oscommerce.com/viewtopic.php?p=218171#218171
----------------------------------------------------------------

smashr:
Hey Dan.  Great, glad to hear it's working out for you.  As for what you requested, it's relatively easy to add.  If you look in the AIM manual it will give you various things you can actually add in to each order.  In authorizenet_direct.php, you should see this:
[code]
$form_data = array(
x_Login => MODULE_PAYMENT_AUTHORIZENET_LOGIN,
x_tran_key => MODULE_PAYMENT_AUTHORIZENET_TRANSKEY,
x_Delim_Data => 'TRUE',
x_Version => '3.1',
x_Type => 'AUTH_CAPTURE',
...
[/code]

There's a huge block of those variables, and you can add in what you need in there.  The amount variable is this:
[code]
	x_Amount => number_format($order->info['total'], 2),
[/code]

Hope that helps.

Austin519