Zen Cart Logo
Forums / All Other Contributions/Addons / Problem with Mastercard and the Edit Orders contribution mod

Problem with Mastercard and the Edit Orders contribution mod

Locked

Views: 1,160

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
13 Jul 2007, 3:54 PM
#1
larryhyman avatar

larryhyman

New Zenner

Join Date:
Apr 2007
Posts:
48
Plugin Contributions:
0

Problem with Mastercard and the Edit Orders contribution mod

I am using the CC module in the admin.

When sombody orders online I get an email with the middle info and when I look at the order the CC number is there with the middle digits as XXX

everything is fin except when they order with a master card...

the middle digits are still mailed but in the order only the (Last 4) digits appear and I have to call the customer to get the first 4 digits

how can I fix this?

Thanks

13 Jul 2007, 5:37 PM
#2
larryhyman avatar

larryhyman

New Zenner

Join Date:
Apr 2007
Posts:
48
Plugin Contributions:
0

Re: Problem with Mastercard and the Edit Orders contribution mod

Turns out that it is edit orders is what is killing the cc number, here is the code, could somebody help me disable it?

if(substr($update_info_cc_number,0,8) != "(Last 4)")
$UpdateOrders .= "cc_number = '". $_POST['update_info_cc_number']. "',";

I wounder what would happen if I just comment it out?

13 Jul 2007, 5:46 PM
#3
larryhyman avatar

larryhyman

New Zenner

Join Date:
Apr 2007
Posts:
48
Plugin Contributions:
0

Re: Problem with Mastercard and the Edit Orders contribution mod

Problem fixed:

comenting out those 2 lines in edit_orders.php stops the cc number from getting clobbered !