<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error &amp;quot;Card Code is required&amp;quot;? Why is it not recognizing that I'm passing CCV? in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-quot-Card-Code-is-required-quot-Why-is-it-not-recognizing/m-p/14014#M8304</link>
    <description>There's no way to know without you giving us more information. It's probably a coding issue so if you show us your code we may be able to spot the issue for you.</description>
    <pubDate>Tue, 28 Jun 2011 11:53:39 GMT</pubDate>
    <dc:creator>stymiee</dc:creator>
    <dc:date>2011-06-28T11:53:39Z</dc:date>
    <item>
      <title>Error "Card Code is required"? Why is it not recognizing that I'm passing CCV?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-quot-Card-Code-is-required-quot-Why-is-it-not-recognizing/m-p/14010#M8302</link>
      <description />
      <pubDate>Tue, 28 Jun 2011 02:30:51 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-quot-Card-Code-is-required-quot-Why-is-it-not-recognizing/m-p/14010#M8302</guid>
      <dc:creator>TJPride</dc:creator>
      <dc:date>2011-06-28T02:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error "Card Code is required"? Why is it not recognizing that I'm passing CCV?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-quot-Card-Code-is-required-quot-Why-is-it-not-recognizing/m-p/14014#M8304</link>
      <description>There's no way to know without you giving us more information. It's probably a coding issue so if you show us your code we may be able to spot the issue for you.</description>
      <pubDate>Tue, 28 Jun 2011 11:53:39 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-quot-Card-Code-is-required-quot-Why-is-it-not-recognizing/m-p/14014#M8304</guid>
      <dc:creator>stymiee</dc:creator>
      <dc:date>2011-06-28T11:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error "Card Code is required"? Why is it not recognizing that I'm passing CCV?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-quot-Card-Code-is-required-quot-Why-is-it-not-recognizing/m-p/14030#M8306</link>
      <description>&lt;P&gt;If is in C# you must fill CardCode thats the CVV.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2011 16:09:32 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-quot-Card-Code-is-required-quot-Why-is-it-not-recognizing/m-p/14030#M8306</guid>
      <dc:creator>Edisonsan8</dc:creator>
      <dc:date>2011-06-28T16:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error "Card Code is required"? Why is it not recognizing that I'm passing CCV?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-quot-Card-Code-is-required-quot-Why-is-it-not-recognizing/m-p/14042#M8310</link>
      <description>&lt;P&gt;What the heck? I spent 15 minutes last night carefully documenting both the back-end code and my output, the stupid form must have erased my post because it's buggy on my older Mac (or because it contained code, I'm not sure). I'm posting on my PC now just to make absolutely sure my code doesn't get dumped again. I also note, by the way, that the text box width is far wider than the allowed display area, so it scrolls to the right while I type rather than allowing me to see the whole thing. This is even on my PC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Back-end code, written in PHP:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;if ($_POST['submitted'] &amp;amp;&amp;amp; !$errors) {
    $authorize = new AuthorizeNetAIM(
        $GLOBALS['_authorize_id'], $GLOBALS['_authorize_key']);
    $authorize-&amp;gt;setSandbox(true);
       
    $fields = array(
        'first_name' =&amp;gt; $_POST['first'],
        'last_name' =&amp;gt; $_POST['last'],
        'company' =&amp;gt; $_POST['company'],
        'address' =&amp;gt; $_POST['address'],
        'city' =&amp;gt; $_POST['city'],
        'state' =&amp;gt; $_POST['state'],
        'zip' =&amp;gt; $_POST['zip'],
        'country' =&amp;gt; 'US',

        'phone' =&amp;gt; $_POST['phone'],
        'email' =&amp;gt; $_POST['email'],

        'customer_ip' =&amp;gt; $_SERVER['REMOTE_ADDR'],

        'amount' =&amp;gt; $_POST['amount'],

        'card_num' =&amp;gt; $_POST['card_number'],
        'exp_date' =&amp;gt; sprintf('%02d%02d', $_POST['card_exp_month'], ($_POST['card_exp_year'] % 1000)),
        'cardholder_authentication_value' =&amp;gt; $_POST['card_ccv']
    );
    print_r($fields);
    $authorize-&amp;gt;setFields($fields);
    $authorize-&amp;gt;setCustomField('payment_type', 'SINGLE');


    $result = $authorize-&amp;gt;authorizeAndCapture();
    print_r($result);
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And And output (I've edited anything I wouldn't want people getting their hands on):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;(
    [first_name] =&amp;gt; Theodore
    [last_name] =&amp;gt; Pride
    [company] =&amp;gt; My Company Name
    [address] =&amp;gt; My Address Here
    [city] =&amp;gt; Fenton
    [state] =&amp;gt; MO
    [zip] =&amp;gt; 63026
    [country] =&amp;gt; US
    [phone] =&amp;gt; (636) 555-5555
    [email] =&amp;gt; myemail@mydomain.com
    [customer_ip] =&amp;gt; 1.2.3.4
    [amount] =&amp;gt; 1.99
    [card_num] =&amp;gt; 1234567890123456
    [exp_date] =&amp;gt; 0515
    [cardholder_authentication_value] =&amp;gt; 724
)
...AuthorizeNetAIM_Response Object
(
    [_response_array:private] =&amp;gt; Array
        (
            [0] =&amp;gt; 3
            [1] =&amp;gt; 2
            [2] =&amp;gt; 33
            [3] =&amp;gt; (TESTMODE) Card Code is required.
            [4] =&amp;gt; 000000
            [5] =&amp;gt; P
            [6] =&amp;gt; 0
            [7] =&amp;gt; 
            [8] =&amp;gt; 
            [9] =&amp;gt; 1.99
            [10] =&amp;gt; CC
            [11] =&amp;gt; auth_capture
            [12] =&amp;gt; 
            [13] =&amp;gt; Theodore
            [14] =&amp;gt; Pride
            [15] =&amp;gt; My Company Name
            [16] =&amp;gt; My Address here
            [17] =&amp;gt; Fenton
            [18] =&amp;gt; MO
            [19] =&amp;gt; 63026
            [20] =&amp;gt; US
            [21] =&amp;gt; (636) 555-5555
            [22] =&amp;gt; 
            [23] =&amp;gt; myemail@mydomain.com
            [24] =&amp;gt; 
            [25] =&amp;gt; 
            [26] =&amp;gt; 
            [27] =&amp;gt; 
            [28] =&amp;gt; 
            [29] =&amp;gt; 
            [30] =&amp;gt; 
            [31] =&amp;gt; 
            [32] =&amp;gt; 
            [33] =&amp;gt; 
            [34] =&amp;gt; 
            [35] =&amp;gt; 
            [36] =&amp;gt; 
            [37] =&amp;gt; 4674B1424DE7D0987E99C1X6804016BE
            [38] =&amp;gt; 
            [39] =&amp;gt; 
            [40] =&amp;gt; 
            [41] =&amp;gt; 
            [42] =&amp;gt; 
            [43] =&amp;gt; 
            [44] =&amp;gt; 
            [45] =&amp;gt; 
            [46] =&amp;gt; 
            [47] =&amp;gt; 
            [48] =&amp;gt; 
            [49] =&amp;gt; 
            [50] =&amp;gt; XXXX1234
            [51] =&amp;gt; Visa
            [52] =&amp;gt; 
            [53] =&amp;gt; 
            [54] =&amp;gt; 
            [55] =&amp;gt; 
            [56] =&amp;gt; 
            [57] =&amp;gt; 
            [58] =&amp;gt; 
            [59] =&amp;gt; 
            [60] =&amp;gt; 
            [61] =&amp;gt; 
            [62] =&amp;gt; 
            [63] =&amp;gt; 
            [64] =&amp;gt; 
            [65] =&amp;gt; 
            [66] =&amp;gt; 
            [67] =&amp;gt; 
            [68] =&amp;gt; SINGLE
        )

    [approved] =&amp;gt; 
    [declined] =&amp;gt; 
    [error] =&amp;gt; 1
    [held] =&amp;gt; 
    [response_code] =&amp;gt; 3
    [response_subcode] =&amp;gt; 2
    [response_reason_code] =&amp;gt; 33
    [response_reason_text] =&amp;gt; (TESTMODE) Card Code is required.
    [authorization_code] =&amp;gt; 000000
    [avs_response] =&amp;gt; P
    [transaction_id] =&amp;gt; 0
    [invoice_number] =&amp;gt; 
    [description] =&amp;gt; 
    [amount] =&amp;gt; 1.99
    [method] =&amp;gt; CC
    [transaction_type] =&amp;gt; auth_capture
    [customer_id] =&amp;gt; 
    [first_name] =&amp;gt; Theodore
    [last_name] =&amp;gt; Pride
    [company] =&amp;gt; My Company Name
    [address] =&amp;gt; My Address Here
    [city] =&amp;gt; Fenton
    [state] =&amp;gt; MO
    [zip_code] =&amp;gt; 63026
    [country] =&amp;gt; US
    [phone] =&amp;gt; (636) 555-5555
    [fax] =&amp;gt; 
    [email_address] =&amp;gt; myemail@mydomain.com
    [ship_to_first_name] =&amp;gt; 
    [ship_to_last_name] =&amp;gt; 
    [ship_to_company] =&amp;gt; 
    [ship_to_address] =&amp;gt; 
    [ship_to_city] =&amp;gt; 
    [ship_to_state] =&amp;gt; 
    [ship_to_zip_code] =&amp;gt; 
    [ship_to_country] =&amp;gt; 
    [tax] =&amp;gt; 
    [duty] =&amp;gt; 
    [freight] =&amp;gt; 
    [tax_exempt] =&amp;gt; 
    [purchase_order_number] =&amp;gt; 
    [md5_hash] =&amp;gt; 4634B1424DEX0987E99C1C6804016BE
    [card_code_response] =&amp;gt; 
    [cavv_response] =&amp;gt; 
    [account_number] =&amp;gt; XXXX1234
    [card_type] =&amp;gt; Visa
    [split_tender_id] =&amp;gt; 
    [requested_amount] =&amp;gt; 
    [balance_on_card] =&amp;gt; 
    [response] =&amp;gt; |3|,|2|,|33|,|(TESTMODE) Card Code is required.|,|000000|,|P|,|0|,||,||,|1.99|,|CC|,|auth_capture|,||,|Theodore|,|Pride|,|My Company Name|,|My Address Here|,|Fenton|,|MO|,|63026|,|US|,|(636) 555-5555|,||,|myemail@mydomain.com|,||,||,||,||,||,||,||,||,||,||,||,||,||,|46X4B1424DE7D0987E99C1B6804016BEE|,||,||,||,||,||,||,||,||,||,||,||,||,|XXXX1234|,|Visa|,||,||,||,||,||,||,||,||,||,||,||,||,||,||,||,||,|SINGLE|
    [payment_type] =&amp;gt; SINGLE
    [error_message] =&amp;gt; AuthorizeNet Error:
                Response Code: 3
                Response Subcode: 2
                Response Reason Code: 33
                Response Reason Text: (TESTMODE) Card Code is required.
                
)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error in this case may have something to do with what I named the CCV field (cardholder_authentication_value). But I couldn't find any alternatives, unless I was looking in the wrong places.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2011 18:14:18 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-quot-Card-Code-is-required-quot-Why-is-it-not-recognizing/m-p/14042#M8310</guid>
      <dc:creator>TJPride</dc:creator>
      <dc:date>2011-06-28T18:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error "Card Code is required"? Why is it not recognizing that I'm passing CCV?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-quot-Card-Code-is-required-quot-Why-is-it-not-recognizing/m-p/14066#M8322</link>
      <description>&lt;P&gt;Bump for today. Really need this solved.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2011 16:49:20 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-quot-Card-Code-is-required-quot-Why-is-it-not-recognizing/m-p/14066#M8322</guid>
      <dc:creator>TJPride</dc:creator>
      <dc:date>2011-06-29T16:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error "Card Code is required"? Why is it not recognizing that I'm passing CCV?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-quot-Card-Code-is-required-quot-Why-is-it-not-recognizing/m-p/14068#M8323</link>
      <description>&lt;P&gt;Ok, well I was experimenting with everything I could think of, and apparently card_code is accepted. Would have been nice to have the answer a couple days ago, however.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2011 16:57:13 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-quot-Card-Code-is-required-quot-Why-is-it-not-recognizing/m-p/14068#M8323</guid>
      <dc:creator>TJPride</dc:creator>
      <dc:date>2011-06-29T16:57:13Z</dc:date>
    </item>
  </channel>
</rss>

