<?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 Where do I put the Login ID &amp;amp; Trans Key in the PHP Code? in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Where-do-I-put-the-Login-ID-amp-Trans-Key-in-the-PHP-Code/m-p/19468#M10723</link>
    <description>&lt;P&gt;I'm fairly new to php programming, though I am well versed in html/css/xhtml, I went through Stymiee's very thorough and easy to understand tutorial series on &lt;A href="http://community.developer.authorize.net/t5/The-Authorize-Net-Developer-Blog/Handling-Online-Payments-Part-1-Basic-Information-and-Our-Form/ba-p/9184" target="_self"&gt;handling online payments&lt;/A&gt;. However, in that tut I didn't see where we input the connection codes (Login ID and Trans Key) to the secure gateway, is there a short snippet of code that I missed and where in the code does it go?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help! :robotvery-happy:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Nov 2011 07:20:18 GMT</pubDate>
    <dc:creator>G33kyGal</dc:creator>
    <dc:date>2011-11-30T07:20:18Z</dc:date>
    <item>
      <title>Where do I put the Login ID &amp; Trans Key in the PHP Code?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Where-do-I-put-the-Login-ID-amp-Trans-Key-in-the-PHP-Code/m-p/19468#M10723</link>
      <description>&lt;P&gt;I'm fairly new to php programming, though I am well versed in html/css/xhtml, I went through Stymiee's very thorough and easy to understand tutorial series on &lt;A href="http://community.developer.authorize.net/t5/The-Authorize-Net-Developer-Blog/Handling-Online-Payments-Part-1-Basic-Information-and-Our-Form/ba-p/9184" target="_self"&gt;handling online payments&lt;/A&gt;. However, in that tut I didn't see where we input the connection codes (Login ID and Trans Key) to the secure gateway, is there a short snippet of code that I missed and where in the code does it go?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help! :robotvery-happy:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2011 07:20:18 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Where-do-I-put-the-Login-ID-amp-Trans-Key-in-the-PHP-Code/m-p/19468#M10723</guid>
      <dc:creator>G33kyGal</dc:creator>
      <dc:date>2011-11-30T07:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Where do I put the Login ID &amp; Trans Key in the PHP Code?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Where-do-I-put-the-Login-ID-amp-Trans-Key-in-the-PHP-Code/m-p/19472#M10725</link>
      <description>&lt;P&gt;You can set those in config variables inside the API, I don't know if he's assuming you've done this or not. If you want to add it at the transaction level, change this in Part 5:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$transaction = new AuthorizeNetAIM;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;To this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$transaction = new AuthorizeNetAIM($myID, $myKey);&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Nov 2011 08:14:58 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Where-do-I-put-the-Login-ID-amp-Trans-Key-in-the-PHP-Code/m-p/19472#M10725</guid>
      <dc:creator>TJPride</dc:creator>
      <dc:date>2011-11-30T08:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Where do I put the Login ID &amp; Trans Key in the PHP Code?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Where-do-I-put-the-Login-ID-amp-Trans-Key-in-the-PHP-Code/m-p/19536#M10757</link>
      <description>&lt;P&gt;Thanks for the quick help, I will try that and see if it goes through, thanks so much!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2011 03:08:45 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Where-do-I-put-the-Login-ID-amp-Trans-Key-in-the-PHP-Code/m-p/19536#M10757</guid>
      <dc:creator>G33kyGal</dc:creator>
      <dc:date>2011-12-01T03:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Where do I put the Login ID &amp; Trans Key in the PHP Code?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Where-do-I-put-the-Login-ID-amp-Trans-Key-in-the-PHP-Code/m-p/19604#M10791</link>
      <description>&lt;P&gt;Tried what you suggested, but I get this error when I go to test it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Parse error&lt;/STRONG&gt;: syntax error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in &lt;STRONG&gt;/home/a1833629/public_html/payment-form.php&lt;/STRONG&gt; on line &lt;STRONG&gt;98&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;line 98 has&lt;STRONG&gt; the Login ID and Trans Key&lt;/STRONG&gt; in it with the $ at the start like you suggested. Is it the wrong syntax for the codes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Obviously I can't post the id and key here, but it looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;$transaction = new AuthorizeNetAIM( $#B#bb#BB, $###BbbbBB###bb#);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2011 04:51:15 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Where-do-I-put-the-Login-ID-amp-Trans-Key-in-the-PHP-Code/m-p/19604#M10791</guid>
      <dc:creator>G33kyGal</dc:creator>
      <dc:date>2011-12-02T04:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Where do I put the Login ID &amp; Trans Key in the PHP Code?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Where-do-I-put-the-Login-ID-amp-Trans-Key-in-the-PHP-Code/m-p/19610#M10794</link>
      <description>&lt;P&gt;$myid and $mykey represent variables that contain those codes:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;// In your globals file you might have:
$GLOBALS['_auth_id'] = 'dsjfor23j3';
$GLOBALS['_auth_key'] = 'sdf23i4j23';

// Then in your code:
$transaction = new AuthorizeNetAIM($GLOBALS['_auth_id'], $GLOBALS['_auth_key']);

// If you want to just hard-code it in the call:
$transaction = new AuthorizeNetAIM('dsjfor23j3', 'sdf23i4j23');

&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2011 08:58:31 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Where-do-I-put-the-Login-ID-amp-Trans-Key-in-the-PHP-Code/m-p/19610#M10794</guid>
      <dc:creator>TJPride</dc:creator>
      <dc:date>2011-12-02T08:58:31Z</dc:date>
    </item>
  </channel>
</rss>

