<?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: AIM Refund/Credit not accepting last four digits of Credit Card in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-Refund-Credit-not-accepting-last-four-digits-of-Credit-Card/m-p/32682#M17228</link>
    <description>&lt;P&gt;i am having a similar issue with AIM php, i have treid submitting the last four digits with and without the preceeding X's&lt;/P&gt;&lt;PRE&gt; $transaction = new AuthorizeNetCP(AUTHORIZENET_API_LOGIN_ID, AUTHORIZENET_TRANSACTION_KEY); 

$response = $transaction-&amp;gt;credit($trans_id,$refund_amount,$card_num); &lt;/PRE&gt;i am using the transaction detains api to get the card the masked card num</description>
    <pubDate>Thu, 24 Jan 2013 20:50:57 GMT</pubDate>
    <dc:creator>postmordum</dc:creator>
    <dc:date>2013-01-24T20:50:57Z</dc:date>
    <item>
      <title>AIM Refund/Credit not accepting last four digits of Credit Card</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-Refund-Credit-not-accepting-last-four-digits-of-Credit-Card/m-p/10028#M6503</link>
      <description>&lt;P class="Bullets"&gt;Hi,&lt;/P&gt;&lt;P class="Bullets"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="Bullets"&gt;I am integrating via AIM and I am attempting to refund (or credit) on a settled transaction. The specification states the following:&lt;/P&gt;&lt;P class="Bullets"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="Bullets"&gt;"At least the last four digits of the credit card number (&lt;SPAN style="font-style: italic;"&gt;&lt;EM&gt;x_card_num&lt;/EM&gt;&lt;/SPAN&gt;) used for the original, successfully settled transaction are submitted. An expiration date is not required."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I pass the transaction ID, amount and last four digits of the card to AuthorizeNetAIM::credit it throws this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;AuthorizeNet Error:&lt;BR /&gt;                Response Code: 3&lt;BR /&gt;                Response Subcode: 1&lt;BR /&gt;                Response Reason Code: 6&lt;BR /&gt;                Response Reason Text: The credit card number is invalid.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P class="Bullets"&gt;It works when I pass the *full* card number and the expiry date, but this is a problem for me as I can't store this amount of data (for security reasons) and it contradicts the documentation.&lt;/P&gt;&lt;P class="Bullets"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="Bullets"&gt;Can anyone help me out? It would be much appreciated.&lt;/P&gt;&lt;P class="Bullets"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="Bullets"&gt;Best Regards,&lt;/P&gt;&lt;P class="Bullets"&gt;Picco&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2011 11:25:22 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-Refund-Credit-not-accepting-last-four-digits-of-Credit-Card/m-p/10028#M6503</guid>
      <dc:creator>crmpicco</dc:creator>
      <dc:date>2011-02-03T11:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: AIM Refund/Credit not accepting last four digits of Credit Card</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-Refund-Credit-not-accepting-last-four-digits-of-Credit-Card/m-p/10030#M6504</link>
      <description>&lt;P&gt;Are you passing the masked last four like 'XXXX4154' with the XXXX in front?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2011 12:36:52 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-Refund-Credit-not-accepting-last-four-digits-of-Credit-Card/m-p/10030#M6504</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2011-02-03T12:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: AIM Refund/Credit not accepting last four digits of Credit Card</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-Refund-Credit-not-accepting-last-four-digits-of-Credit-Card/m-p/10032#M6505</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No I am just passing four characters, please see the cURL string below. I am using PHP for the integration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;x_version=3.1&amp;amp;x_delim_char=%2C&amp;amp;x_delim_data=TRUE&amp;amp;x_relay_response=FALSE&amp;amp;x_encap_char=%7C&amp;amp;x_exp_date=01%2F13&amp;amp;x_amount=188.99&amp;amp;x_card_num=0001&amp;amp;x_type=CREDIT&amp;amp;x_login=MYLOGIN&amp;amp;x_tran_key=9728y896wRj5gBWa&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone see the issue here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The test card I used was 5404000000000001. I'm just about to call the support line to see if anyone can help me out there, but I think I may have more success on here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Picco&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2011 13:40:16 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-Refund-Credit-not-accepting-last-four-digits-of-Credit-Card/m-p/10032#M6505</guid>
      <dc:creator>crmpicco</dc:creator>
      <dc:date>2011-02-03T13:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: AIM Refund/Credit not accepting last four digits of Credit Card</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-Refund-Credit-not-accepting-last-four-digits-of-Credit-Card/m-p/10036#M6507</link>
      <description>&lt;P&gt;Well, you need to pass in as a masked cc# so it will be x_card_num=XXXX00041&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2011 14:59:22 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-Refund-Credit-not-accepting-last-four-digits-of-Credit-Card/m-p/10036#M6507</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2011-02-03T14:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: AIM Refund/Credit not accepting last four digits of Credit Card</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-Refund-Credit-not-accepting-last-four-digits-of-Credit-Card/m-p/32682#M17228</link>
      <description>&lt;P&gt;i am having a similar issue with AIM php, i have treid submitting the last four digits with and without the preceeding X's&lt;/P&gt;&lt;PRE&gt; $transaction = new AuthorizeNetCP(AUTHORIZENET_API_LOGIN_ID, AUTHORIZENET_TRANSACTION_KEY); 

$response = $transaction-&amp;gt;credit($trans_id,$refund_amount,$card_num); &lt;/PRE&gt;i am using the transaction detains api to get the card the masked card num</description>
      <pubDate>Thu, 24 Jan 2013 20:50:57 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-Refund-Credit-not-accepting-last-four-digits-of-Credit-Card/m-p/32682#M17228</guid>
      <dc:creator>postmordum</dc:creator>
      <dc:date>2013-01-24T20:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: AIM Refund/Credit not accepting last four digits of Credit Card</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-Refund-Credit-not-accepting-last-four-digits-of-Credit-Card/m-p/32690#M17235</link>
      <description>&lt;P&gt;could be a bug because CP use x_ref_trans_id for credit while on AIM is use x_trans_id&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2013 22:11:26 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-Refund-Credit-not-accepting-last-four-digits-of-Credit-Card/m-p/32690#M17235</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2013-01-24T22:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: AIM Refund/Credit not accepting last four digits of Credit Card</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-Refund-Credit-not-accepting-last-four-digits-of-Credit-Card/m-p/32695#M17240</link>
      <description>&lt;P&gt;Thanks, i went into the library and hard coded a x_ref_trans_id variable into the curl post data to be the transaction id and it successfully submited&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2013 22:33:21 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-Refund-Credit-not-accepting-last-four-digits-of-Credit-Card/m-p/32695#M17240</guid>
      <dc:creator>postmordum</dc:creator>
      <dc:date>2013-01-24T22:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: AIM Refund/Credit not accepting last four digits of Credit Card</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-Refund-Credit-not-accepting-last-four-digits-of-Credit-Card/m-p/32698#M17243</link>
      <description>&lt;P&gt;i added&lt;/P&gt;&lt;P&gt;&amp;lt;pre&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;$transaction-&amp;gt;setCustomField("x_ref_trans_id", $trans_id);&lt;/P&gt;&lt;P&gt;&amp;lt;/pre&amp;gt;&lt;/P&gt;&lt;P&gt;and now everythin works fine&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2013 22:51:35 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-Refund-Credit-not-accepting-last-four-digits-of-Credit-Card/m-p/32698#M17243</guid>
      <dc:creator>postmordum</dc:creator>
      <dc:date>2013-01-24T22:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: AIM Refund/Credit not accepting last four digits of Credit Card</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-Refund-Credit-not-accepting-last-four-digits-of-Credit-Card/m-p/60216#M34774</link>
      <description>&lt;P&gt;I ran into the same problem. Their documentation:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://developer.authorize.net/api/reference/#payment-transactions-refund-a-transaction" target="_blank"&gt;http://developer.authorize.net/api/reference/#payment-transactions-refund-a-transaction&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;actually has refTransID as an explicitly required field. However, their code sample omits it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added the following line to my (php) code and that made it work:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$transactionRequest-&amp;gt;setRefTransId(123456789);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(where 123456789 is the number of your original transaction)&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2017 05:48:39 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-Refund-Credit-not-accepting-last-four-digits-of-Credit-Card/m-p/60216#M34774</guid>
      <dc:creator>developer12345</dc:creator>
      <dc:date>2017-10-18T05:48:39Z</dc:date>
    </item>
  </channel>
</rss>

