cancel
Showing results for 
Search instead for 
Did you mean: 

Master Card Error: "The card code is invalid."

We are having issues with Master Card transactions including cvv codes with 4 digits

this is an example

 

Authorize.net Request:

Array

(

    [x_login] => XXXXXXXXXXXX

    [x_tran_key] => XXXXXXXXXXXX

    [x_relay_response] => FALSE

    [x_delim_char] => |

    [x_delim_data] => TRUE

    [x_version] => 3.1

    [x_type] => AUTH_CAPTURE

    [x_method] => CC

    [x_amount] => 1,632.53

    [x_card_num] => XXXXXXXXXXXXXXXX

    [x_exp_date] => XXXX

    [x_card_code] => 9926

    [x_email_customer] => TRUE

    [x_email_merchant] => TRUE

    [x_cust_id] => XXXXX

    [x_invoice_num] => XXXXX

    [x_first_name] => XXXXXXXX

    [x_last_name] => XXXXXXXX

    [x_company] =>

    [x_address] => XXXXXXXX

    [x_city] => XXXXXXXX

    [x_state] => XXXXXXXX

    [x_zip] => XXXXXXXX

    [x_country] => United States

    [x_phone] => XXXXXXXX

    [x_email] => XXXXXXXX

    [x_ship_to_first_name] => XXXXXXXX

    [x_ship_to_last_name] => XXXXXXXX

    [x_ship_to_address] => XXXXXXXX

    [x_ship_to_city] => XXXXXXXX

    [x_ship_to_state] => XXXXXXXX

    [x_ship_to_zip] => XXXXXXXX

    [x_ship_to_country] => United States

    [x_description] => XXXXXXXX

    [x_test_request] => FALSE

    [Date] => August 25, 2012, 2:30 pm

    [IP] => XXXXXXXX

    [Session] => 36c893b5bbb06cfbf66ec25d4ebc2053

)

 

 

Authorize.net Response:

Array

(

    [0] => 3

    [1] => 1

    [2] => 78

    [3] => The card code is invalid.

    [4] =>

    [5] => P

    [6] => 4599724803

    [7] => 76487

    [8] => H&S 109003 Mini Maxx Race Tuner w/o egt probe fits 06-and Up 5.9L and 6.7L Cummins, 03 and Up 6.0L, 6.4L, and 6.7L Ford Powerstroke, and 07.5 and Up 6.6L Duramax(qty: 1) + Flo~Pro SS739 4" Stainless Turbo Back Duals Fits 07.5-09 Dodge 6.7L Cummins(qty: 1)

    [9] => 1632.53

    [10] => CC

    [11] => auth_capture

    [12] => 49963

    [13] => XXXXXXXX

    [14] => XXXXXXXX

    [15] =>

    [16] => XXXXXXXX

    [17] => XXXXXXXX

    [18] => XXXXXXXX

    [19] => XXXXXXXX

    [20] => United States

    [21] => XXXXXXXX

    [22] =>

    [23] => XXXXXXXX

    [24] => XXXXXXXX

    [25] => XXXXXXXX

    [26] =>

    [27] => XXXXXXXX

    [28] => XXXXXXXX

    [29] => XXXXXXXX

    [30] => XXXXXXXX

    [31] => United States

    [32] =>

    [33] =>

    [34] =>

    [35] =>

    [36] =>

    [37] => 9FD148270C459D43251D8A1D715BF47B

    [38] =>

    [39] =>

    [40] =>

    [41] =>

    [42] =>

    [43] =>

    [44] =>

    [45] =>

    [46] =>

    [47] =>

    [48] =>

    [49] =>

    [50] => XXXXXXXX

    [51] => MasterCard

    [52] =>

    [53] =>

    [54] =>

    [55] =>

    [56] =>

    [57] =>

    [58] =>

    [59] =>

    [60] =>

    [61] =>

    [62] =>

    [63] =>

    [64] =>

    [65] =>

    [66] =>

    [67] =>

    [68] => August 25, 2012, 2:30 pm

    [69] => 207.119.170.190

    [70] => 36c893b5bbb06cfbf66ec25d4ebc2053

)

 

 

 

Authorize.net Request:

Array

(

    [x_login] =>xxx

    [x_tran_key] => x

    [x_relay_response] => FALSE

    [x_delim_char] => |

    [x_delim_data] => TRUE

    [x_version] => 3.1

    [x_type] => AUTH_CAPTURE

    [x_method] => CC

    [x_amount] => 1,632.53

    [x_card_num] => 5403420000049926

    [x_exp_date] => 0314

    [x_card_code] => 9926

    [x_email_customer] => TRUE

    [x_email_merchant] => TRUE

    [x_cust_id] => 49963

    [x_invoice_num] => 76487

    [x_first_name] => xxx

    [x_last_name] => xxx

    [x_company] =>

    [x_address] => x

    [x_city] => xxx

    [x_state] => x

    [x_zip] => x

    [x_country] => x

    [x_phone] => x

    [x_email] => xxxx

    [x_ship_to_first_name] => xxx

    [x_ship_to_last_name] => xxx

    [x_ship_to_address] => x

    [x_ship_to_city] => xxx

    [x_ship_to_state] => xxx

    [x_ship_to_zip] => x

    [x_ship_to_country] => United States

    [x_description] => H&S 109003 Mini Maxx Race Tuner w/o egt probe fits 06-and Up 5.9L and 6.7L Cummins, 03 and Up 6.0L, 6.4L, and 6.7L Ford Powerstroke, and 07.5 and Up 6.6L Duramax(qty: 1) + Flo~Pro SS739 4" Stainless Turbo Back Duals Fits 07.5-09 Dodge 6.7L Cummins(qty: 1) + MBRP T5073 4" x 6" x 12" Angled Rolled End exhaust tip(qty: 2)

    [x_test_request] => FALSE

    [Date] => August 25, 2012, 2:30 pm

    [IP] => 207.119.170.190

    [Session] => 36c893b5bbb06cfbf66ec25d4ebc2053

)

 

 

Authorize.net Response:

Array

(

    [0] => 3

    [1] => 1

    [2] => 78

    [3] => The card code is invalid.

    [4] =>

    [5] => P

    [6] => 4599724803

    [7] => 76487

    [8] => H&S 109003 Mini Maxx Race Tuner w/o egt probe fits 06-and Up 5.9L and 6.7L Cummins, 03 and Up 6.0L, 6.4L, and 6.7L Ford Powerstroke, and 07.5 and Up 6.6L Duramax(qty: 1) + Flo~Pro SS739 4" Stainless Turbo Back Duals Fits 07.5-09 Dodge 6.7L Cummins(qty: 1)

    [9] => 1632.53

    [10] => CC

    [11] => auth_capture

    [12] => 49963

    [13] => xxx

    [14] => xxx

    [15] =>

    [16] => xxx

    [17] => xxx

    [18] => xxx

    [19] => xxx6

    [20] => United States

    [21] => xx

    [22] =>

    [23] => x

    [24] => x

    [25] => x

    [26] =>

    [27] => x

    [28] => x

    [29] => x

    [30] => x

    [31] => x

    [32] =>

    [33] =>

    [34] =>

    [35] =>

    [36] =>

    [37] => 9FD148270C459D43251D8A1D715BF47B

    [38] =>

    [39] =>

    [40] =>

    [41] =>

    [42] =>

    [43] =>

    [44] =>

    [45] =>

    [46] =>

    [47] =>

    [48] =>

    [49] =>

    [50] => xxx

    [51] => xxx

    [52] =>

    [53] =>

    [54] =>

    [55] =>

    [56] =>

    [57] =>

    [58] =>

    [59] =>

    [60] =>

    [61] =>

    [62] =>

    [63] =>

    [64] =>

    [65] =>

    [66] =>

    [67] =>

    [68] => August 25, 2012, 2:30 pm

    [69] => 207.119.170.190

    [70] => 36c893b5bbb06cfbf66ec25d4ebc2053

)

 

 

Post Data:

Array

(

    [authorizenet_aim_cc_owner] =>xxxxxxxxx

    [authorizenet_aim_cc_expires_month] => xx

    [authorizenet_aim_cc_expires_year] => xx

    [authorizenet_aim_cc_type] => Master Card

    [authorizenet_aim_cc_number] => xxxxxxxxxx

    [osCsid] => 36c893b5bbb06cfbf66ec25d4ebc2053

    [authorizenet_aim_cc_cvv] => xxxx

)

yanier
Member
5 REPLIES 5
RichardH
Administrator Administrator
Administrator

Richard, can you removed it second x_login from the post.

Done.  Thanks.

I am facing the issue like "The card code is invalid " and i am getting the reponse like 78 in my production .Can you please suggest me how to fix this issue

The error mean the card code is invalid. Are you using a real credit card for testing? testing using a test card#?