<?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: Switching form Developer To Production Mode in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Switching-form-Developer-To-Production-Mode/m-p/40812#M22144</link>
    <description>&lt;P&gt;Thanks for the response i placed provided code by you and it's works great for me. Thanks a lot.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Apr 2014 13:07:17 GMT</pubDate>
    <dc:creator>ni3</dc:creator>
    <dc:date>2014-04-29T13:07:17Z</dc:date>
    <item>
      <title>Switching form Developer To Production Mode</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Switching-form-Developer-To-Production-Mode/m-p/40800#M22138</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using ARB Subscription and i have two different card not present account. My code has works very well on developer mode but i'm trying to configure same code at production mode it does not works. It returns with error "E00007,User authentication failed due to invalid authentication values."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using php sdk here, Same code doesn't work's at production mode. I have activated test mode at promoduction code and using test credit cards for testing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it not works for me at production mode, can anyboddy help me to take this out ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;?&lt;BR /&gt;function paymentgateway($creditcard,$expiration_month,$expiration_year,$cvv,$fname,$lname,$email,$country,$state,$address,$zip,$days){&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;require_once '/httpdocs/anet_php_sdk/AuthorizeNet.php';&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; $creditCardExpirationDate = $expiration_month."-".$expiration_year;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; $subscription = new AuthorizeNet_Subscription;&lt;BR /&gt;&amp;nbsp; $subscription-&amp;gt;name = "Monthly Membership";&lt;BR /&gt;&amp;nbsp; &amp;nbsp;$subscription-&amp;gt;intervalLength = "8";&lt;BR /&gt;&amp;nbsp; &amp;nbsp;$subscription-&amp;gt;intervalUnit = "days";&lt;BR /&gt;&amp;nbsp; &amp;nbsp;$subscription-&amp;gt;startDate = date('Y-m-d', strtotime($Date. ' + '.$days.' days'));&lt;BR /&gt;&amp;nbsp; &amp;nbsp;$subscription-&amp;gt;totalOccurrences = "9999";&lt;BR /&gt;&amp;nbsp; &amp;nbsp;$subscription-&amp;gt;amount = "9.99";&lt;BR /&gt;&amp;nbsp; &amp;nbsp;$subscription-&amp;gt;creditCardCardNumber = base64_decode($creditcard);&lt;BR /&gt;&amp;nbsp; &amp;nbsp;$subscription-&amp;gt;creditCardExpirationDate= $creditCardExpirationDate;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;$subscription-&amp;gt;creditCardCardCode = base64_decode($cvv);&lt;BR /&gt;&amp;nbsp; &amp;nbsp;$subscription-&amp;gt;billToFirstName = $fname;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;$subscription-&amp;gt;billToLastName = $lname;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;$subscription-&amp;gt;customerEmail = $email;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;$subscription-&amp;gt;billToAddress = $address;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;$subscription-&amp;gt;billToCountry = $country;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;$subscription-&amp;gt;billToAddress = $address;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;$subscription-&amp;gt;billToZip = $zip;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; // Create the subscription.&lt;BR /&gt;&amp;nbsp; // $request = new AuthorizeNetARB("API Login Key","Tranaction key"); // Development Mode&lt;BR /&gt;&amp;nbsp; &amp;nbsp;$request = new AuthorizeNetARB("API Login Key","API Transaction key"); // Live Mode&lt;BR /&gt;&amp;nbsp; &amp;nbsp;$response = $request-&amp;gt;createSubscription($subscription);&lt;BR /&gt;&amp;nbsp; &amp;nbsp;$error = $response-&amp;gt;getErrorMessage();&lt;BR /&gt;&amp;nbsp; &amp;nbsp;$subscription_id = $response-&amp;gt;getSubscriptionId();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if($subscription_id == false){&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; //Error in payment process&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; $errrArray = Array();&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;$errrArray['error'] = "Error in Credit Card";&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;return $errrArray;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;}else&lt;BR /&gt;&amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Payment Success&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $errrArray = Array();&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $errrArray['transaction_id'] = $subscription_id;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return $errrArray;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Waiting forward for postitive response.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2014 09:02:11 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Switching-form-Developer-To-Production-Mode/m-p/40800#M22138</guid>
      <dc:creator>ni3</dc:creator>
      <dc:date>2014-04-29T09:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Switching form Developer To Production Mode</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Switching-form-Developer-To-Production-Mode/m-p/40802#M22139</link>
      <description>&lt;P&gt;Did you change it to use the proudction server?&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://github.com/AuthorizeNet/sdk-php/blob/master/README"&gt;https://github.com/AuthorizeNet/sdk-php/blob/master/README&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;define("AUTHORIZENET_SANDBOX", false);&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Apr 2014 11:11:01 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Switching-form-Developer-To-Production-Mode/m-p/40802#M22139</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2014-04-29T11:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Switching form Developer To Production Mode</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Switching-form-Developer-To-Production-Mode/m-p/40812#M22144</link>
      <description>&lt;P&gt;Thanks for the response i placed provided code by you and it's works great for me. Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2014 13:07:17 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Switching-form-Developer-To-Production-Mode/m-p/40812#M22144</guid>
      <dc:creator>ni3</dc:creator>
      <dc:date>2014-04-29T13:07:17Z</dc:date>
    </item>
  </channel>
</rss>

