06 Sep 2010 
Support Center » Knowledgebase » X-Cart Setting up Authorize.net to 'authorize' cards with MOM (using BizSync)
 X-Cart Setting up Authorize.net to 'authorize' cards with MOM (using BizSync)
Solution

This article describes processing credit cards on-line and using a back-office system like Mail Order Manager to process orders.

If you're using MOM, you have a choice to allow for BizSync On-Demand (X-Cart) take orders and credit card information and allow MOM to authorize and capture the card. Or you can have X-Cart's Authorize.net module (AIM) do the authorization online and then allow for MOM to capture the MOM, later, when you ship the order. If you want to have MOM do everything, disable your Payment Method in X-Cart, and just allow X-Cart to accept the cards and NOT go through a payment gateway.

To have the transactions pre-approved only, and not to have the charges captured automatically, you need to edit the "cc_authorizenet.php" file in the payment folder and change the following line of codes.

Original

Code:
$transaction_type_name = func_check_cc_trans ('AuthorizeNet', $transaction_type, array("P" => "auth_capture", "C" => "auth_only", "R" => "credit"));

You need to change it to

Code:
$transaction_type_name = func_check_cc_trans ('AuthorizeNet', $transaction_type, array("P" => "auth_only", "C" => "auth_only", "R" => "credit"));

Finally, in your BizSync global.inc.php (located in the 'bizsync' folder in your Web root).

You'll need to put the following in the file:

  define ('AUTHORIZE_CARD', true);

 This will tell BizSync to ensure that your downloading properly from the BizSync client and it sets the appropriate status on the order when the card is processed by authorize.net.

Normal orders coming in that are NOT processed by Authorize.net are set to "Queue", and BizSync looks for that status and then when downloaded, that status is changed too "Processed". When orders are processed and cards are authorized by Authorize.net, the status is already set to "Processed", therefore, BizSync needs to know to check for that status and then set the order to "Completed" when downloaded.

 



Article Details
Article ID: 3
Created On: 11 Oct 2008 10:01 AM

 This answer was helpful  This answer was not helpful

 Back
 Login [Lost Password] 
Email:
Password:
Remember Me:
 
 Search
 Article Options
Home | Register | Submit a Ticket | Knowledgebase | Troubleshooter | News | Downloads
Language:

Help Desk Software By Kayako eSupport v3.40.01