<?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: Another Credit processing question (AIM) in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Another-Credit-processing-question-AIM/m-p/14396#M8465</link>
    <description>&lt;P&gt;Shouldn't it be&lt;/P&gt;&lt;PRE&gt;$response =﻿ $transaction-&amp;gt;credit()﻿;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="courier new,courier"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jul 2011 11:29:11 GMT</pubDate>
    <dc:creator>RaynorC1emen7</dc:creator>
    <dc:date>2011-07-12T11:29:11Z</dc:date>
    <item>
      <title>Another Credit processing question (AIM)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Another-Credit-processing-question-AIM/m-p/14394#M8464</link>
      <description>&lt;P&gt;I've been going round and round trying to figure out why my credits won't process properly. I keep getting an incorrect card number message despite what I use. I know I have the right number and I've submitted it as both 'XXXX0000' as well as '0000'. I tried both ways because I've found conflicting information on this forum. I wish I had a good PHP example to follow since there might be something I'm missing. I'm not sure why the downloadable sample only has VOID as a refund example and not a more inclusive refund and partial refund example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the first part of my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;if ($METHOD_TO_USE == "AIM") {&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp; $transaction = new AuthorizeNetAIM;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp; $transaction-&amp;gt;setSandbox(AUTHORIZENET_SANDBOX);&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp; $transaction-&amp;gt;setFields(&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;array(&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;'trans_id'=&amp;gt; $confcode,&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;'amount'=&amp;gt; $refund, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/FONT&gt;&lt;SPAN style="font-family: 'courier new', courier; line-height: normal;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;'card_num'=&amp;gt; $ccnum, &amp;nbsp;//currently set for last 4 digits only &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; 'type' =&amp;gt;&amp;nbsp;"CREDIT", &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;)&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;);&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;$response = $transaction-&amp;gt;authorizeAndCapture();&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;if ($response-&amp;gt;approved) {...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Is that the correct way to start the refund process? Any idea why I might be getting the card number error?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Thank you in advance,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Don&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2011 03:24:05 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Another-Credit-processing-question-AIM/m-p/14394#M8464</guid>
      <dc:creator>chefgoot</dc:creator>
      <dc:date>2011-07-12T03:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Another Credit processing question (AIM)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Another-Credit-processing-question-AIM/m-p/14396#M8465</link>
      <description>&lt;P&gt;Shouldn't it be&lt;/P&gt;&lt;PRE&gt;$response =﻿ $transaction-&amp;gt;credit()﻿;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="courier new,courier"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2011 11:29:11 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Another-Credit-processing-question-AIM/m-p/14396#M8465</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2011-07-12T11:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Another Credit processing question (AIM)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Another-Credit-processing-question-AIM/m-p/14410#M8473</link>
      <description>&lt;P&gt;Thank you, that was it. I appreciate the help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would have been great to have that in a sample php with the sample application.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2011 15:40:18 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Another-Credit-processing-question-AIM/m-p/14410#M8473</guid>
      <dc:creator>chefgoot</dc:creator>
      <dc:date>2011-07-12T15:40:18Z</dc:date>
    </item>
  </channel>
</rss>

