<?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: New to Authorize.Net and Hello world not working in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/New-to-Authorize-Net-and-Hello-world-not-working/m-p/63202#M37379</link>
    <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;You need to&amp;nbsp;&amp;nbsp;include this file from Github "&lt;/SPAN&gt;&lt;U&gt;&lt;STRONG&gt;&lt;A title="sample-code-php/constants/Constants.php" href="https://github.com/AuthorizeNet/sample-code-php/blob/master/constants/Constants.php" target="_blank" rel="nofollow noopener noreferrer"&gt;sample-code-php/constants/Constants.php&lt;/A&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;SPAN&gt;", at the very top of your script (&lt;/SPAN&gt;&lt;SPAN&gt;charge-credit-card.php for exemple)&lt;/SPAN&gt;&lt;SPAN&gt;, and it will work fine.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 26 May 2018 20:41:58 GMT</pubDate>
    <dc:creator>Anurag</dc:creator>
    <dc:date>2018-05-26T20:41:58Z</dc:date>
    <item>
      <title>New to Authorize.Net and Hello world not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/New-to-Authorize-Net-and-Hello-world-not-working/m-p/63198#M37375</link>
      <description>&lt;P&gt;Hi everyone, I am new to Authorize and I can't get the hello world to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error message is&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Charge Credit Card ERROR : Invalid response&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have installed composer from&amp;nbsp;&lt;A href="https://getcomposer.org/download/" target="_blank"&gt;https://getcomposer.org/download/&lt;/A&gt; and then ran composer update with the following composer.json&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
  "require": {
    "php": "&amp;gt;=5.6",
    "ext-curl": "*",
    "authorizenet/authorizenet": "&amp;gt;=1.9.3"
  }
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The hello world script is from here&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.authorize.net/hello_world/" target="_blank"&gt;https://developer.authorize.net/hello_world/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I went to&amp;nbsp;the "Test Your Authentication Credentials" from this page and did not get any errors:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.authorize.net/api/reference/index.html&amp;nbsp;" target="_blank"&gt;https://developer.authorize.net/api/reference/index.html&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My server has PHP 7.1.16&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone have an idea why I would be getting that error?&lt;/P&gt;</description>
      <pubDate>Sat, 26 May 2018 17:31:05 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/New-to-Authorize-Net-and-Hello-world-not-working/m-p/63198#M37375</guid>
      <dc:creator>ginocyber</dc:creator>
      <dc:date>2018-05-26T17:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: New to Authorize.Net and Hello world not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/New-to-Authorize-Net-and-Hello-world-not-working/m-p/63199#M37376</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/24656"&gt;@ginocyber&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did&amp;nbsp;&amp;nbsp;you&amp;nbsp;tried&amp;nbsp; using the&amp;nbsp;&lt;A href="https://github.com/AuthorizeNet/sample-code-php&amp;nbsp;" target="_blank"&gt;https://github.com/AuthorizeNet/sample-code-php&amp;nbsp;&lt;/A&gt; ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/AuthorizeNet/sample-code-php/blob/master/README.md" target="_blank"&gt;https://github.com/AuthorizeNet/sample-code-php/blob/master/README.md&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 May 2018 19:11:56 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/New-to-Authorize-Net-and-Hello-world-not-working/m-p/63199#M37376</guid>
      <dc:creator>Anurag</dc:creator>
      <dc:date>2018-05-26T19:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: New to Authorize.Net and Hello world not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/New-to-Authorize-Net-and-Hello-world-not-working/m-p/63201#M37378</link>
      <description>&lt;P&gt;Hi Anurag,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;using the sample code, I am now getting this error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Fatal error&lt;/STRONG&gt;&lt;SPAN&gt;: Uncaught Error: Class 'SampleCode\Constants' not found in /home/k5bm176yktda/public_html/SampleCode/PaymentTransactions/charge-credit-card.php:135 Stack trace: #0 {main} thrown in&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;/home/k5bm176yktda/public_html/SampleCode/PaymentTransactions/charge-credit-card.php&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;on line&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;135&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 May 2018 20:14:20 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/New-to-Authorize-Net-and-Hello-world-not-working/m-p/63201#M37378</guid>
      <dc:creator>ginocyber</dc:creator>
      <dc:date>2018-05-26T20:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: New to Authorize.Net and Hello world not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/New-to-Authorize-Net-and-Hello-world-not-working/m-p/63202#M37379</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;You need to&amp;nbsp;&amp;nbsp;include this file from Github "&lt;/SPAN&gt;&lt;U&gt;&lt;STRONG&gt;&lt;A title="sample-code-php/constants/Constants.php" href="https://github.com/AuthorizeNet/sample-code-php/blob/master/constants/Constants.php" target="_blank" rel="nofollow noopener noreferrer"&gt;sample-code-php/constants/Constants.php&lt;/A&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;SPAN&gt;", at the very top of your script (&lt;/SPAN&gt;&lt;SPAN&gt;charge-credit-card.php for exemple)&lt;/SPAN&gt;&lt;SPAN&gt;, and it will work fine.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 May 2018 20:41:58 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/New-to-Authorize-Net-and-Hello-world-not-working/m-p/63202#M37379</guid>
      <dc:creator>Anurag</dc:creator>
      <dc:date>2018-05-26T20:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: New to Authorize.Net and Hello world not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/New-to-Authorize-Net-and-Hello-world-not-working/m-p/63203#M37380</link>
      <description>&lt;P&gt;Thanks you so much. That did it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Last question -&amp;gt; When I pass the credit card # and the 3 digit security # to authorize, do I encrypt in md5 or send it as plain text.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 May 2018 21:22:20 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/New-to-Authorize-Net-and-Hello-world-not-working/m-p/63203#M37380</guid>
      <dc:creator>ginocyber</dc:creator>
      <dc:date>2018-05-26T21:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: New to Authorize.Net and Hello world not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/New-to-Authorize-Net-and-Hello-world-not-working/m-p/63204#M37381</link>
      <description>&lt;P&gt;Are you looking at PCI compliance when sending the credit card info ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so check Accept.js at&amp;nbsp;&lt;A href="https://developer.authorize.net/api/reference/features/accept.html&amp;nbsp;" target="_blank"&gt;https://developer.authorize.net/api/reference/features/accept.html&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Accept.js is a JavaScript-based solution for sending secure payment data directly to Authorize.Net. The Accept JavaScript library intercepts the payment data before it is passed to your server and instead submits it directly to Authorize.Net, which replaces it with a one-time-use token, or payment nonce. This payment nonce, which is returned by the JavaScript library, can be used in the place of payment data in any Authorize.Net API request.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://developer.authorize.net/api/reference/features/acceptjs.html" target="_blank"&gt;https://developer.authorize.net/api/reference/features/acceptjs.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 27 May 2018 07:47:49 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/New-to-Authorize-Net-and-Hello-world-not-working/m-p/63204#M37381</guid>
      <dc:creator>Anurag</dc:creator>
      <dc:date>2018-05-27T07:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: New to Authorize.Net and Hello world not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/New-to-Authorize-Net-and-Hello-world-not-working/m-p/63210#M37386</link>
      <description>&lt;P&gt;Thanks. I am working on a membership site where the first 3 months is free and then I will charge the member every month. This will be recurring until the member cancels their membership.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I run a cron job every night to see when the membership is expired and if so, I will send the credit card infor, billing information, and the amount to authorize.net.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I will be storing the CC info in my DB and then sending it to authorize.net once it's time to renew the membership.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That said, md5 for the credit card # would be the way I should go, correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 May 2018 16:35:55 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/New-to-Authorize-Net-and-Hello-world-not-working/m-p/63210#M37386</guid>
      <dc:creator>ginocyber</dc:creator>
      <dc:date>2018-05-27T16:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: New to Authorize.Net and Hello world not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/New-to-Authorize-Net-and-Hello-world-not-working/m-p/63218#M37394</link>
      <description>&lt;P&gt;in your use case i will recommend to leverage our customer profiles features .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can call it to create the customer and payment profile for each member and then pass the paymentProfile ID for createTransaction when you want to charge .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;More details at&amp;nbsp;&lt;A href="https://developer.authorize.net/api/reference/features/customer_profiles.html" target="_blank"&gt;https://developer.authorize.net/api/reference/features/customer_profiles.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 06:56:57 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/New-to-Authorize-Net-and-Hello-world-not-working/m-p/63218#M37394</guid>
      <dc:creator>Anurag</dc:creator>
      <dc:date>2018-05-29T06:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: New to Authorize.Net and Hello world not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/New-to-Authorize-Net-and-Hello-world-not-working/m-p/63219#M37395</link>
      <description>&lt;P&gt;Excellent, thank you very much&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 12:31:34 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/New-to-Authorize-Net-and-Hello-world-not-working/m-p/63219#M37395</guid>
      <dc:creator>ginocyber</dc:creator>
      <dc:date>2018-05-29T12:31:34Z</dc:date>
    </item>
  </channel>
</rss>

