View Single Post
  #18  
Old 09-28-2011, 02:42 PM
 
Bucci Bucci is offline
 

Newbie
  
Join Date: May 2009
Posts: 6
 

Default Re: Remove Payment Method

I'm running 4.2.1 and I have the problem where Xcart and Webgility ECC shows "Credit Card" but the invoice or data of the invoice is brought over as Credit Card (Authorize : AIM) Hence when QB sees it it thinks it

"Credit Card (Authorize : AIM)" and not "Credit Card"

I think this problem will help but I can not find the module below. And help would be great.


=================Cut from earlier post++++++++++++
To solve the problem, you should edit the 'payment/payment_cc.php' script and find the following lines:

# Put order in table
if(empty($secure_oid) || ($secure_oid_cost != $cart["total_cost"])) {
$orderids = func_place_order(stripslashes($payment_method)." (".$module_params["module_name"].(get_cc_in_testmode($module_params)?", in test mode":"").")", "I", $order_details );
$secure_oid = $orderids;
$secure_oid_cost = $cart["total_cost"];
$duplicate = false;
}


Then you should replace

$orderids = func_place_order(stripslashes($payment_method)." (".$module_params["module_name"].(get_cc_in_testmode($module_params)?", in test mode":"").")", "I", $order_details );

with

$orderids = func_place_order(stripslashes($payment_method), "I", $order_details );
__________________
Version 4.2.1
X-AOM, X-Affiliate, X-Offers, X-FancyCat
Reply With Quote