<?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: Error processing request: E00007 - User authentication failed due to invalid authentication valu in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-processing-request-E00007-User-authentication-failed-due/m-p/51068#M26471</link>
    <description>&lt;P&gt;I get this usually when I'm processing a CIM transaction and passing an ID generated within the Sandbox to the Live API key values.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jun 2015 22:18:24 GMT</pubDate>
    <dc:creator>JonMorrison99</dc:creator>
    <dc:date>2015-06-08T22:18:24Z</dc:date>
    <item>
      <title>Error processing request: E00007 - User authentication failed due to invalid authentication values</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-processing-request-E00007-User-authentication-failed-due/m-p/30844#M16119</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am a newbie here so please forgive me if &amp;nbsp;I make any mistakes in adhering to the rules of this forum.&lt;/P&gt;&lt;P&gt;The issue i am facing is :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Error processing request: E00007 - User authentication failed due to invalid authentication values"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using a proper value of API Login Id and Transaction key.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I get this auth error.&lt;/P&gt;&lt;P&gt;Code sample provided below:&lt;/P&gt;&lt;P&gt;**************************************************&lt;/P&gt;&lt;P&gt;using System;&lt;BR /&gt;using System.Collections.Generic;&lt;BR /&gt;using System.Linq;&lt;BR /&gt;using System.Text;&lt;BR /&gt;using AuthorizeNet;&lt;/P&gt;&lt;P&gt;namespace SampleReporting&lt;BR /&gt;{&lt;BR /&gt;class Program&lt;BR /&gt;{&lt;BR /&gt;static void Main(string[] args)&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;var gate = new ReportingGateway("MY API ", "MY Transaction Key");&lt;/P&gt;&lt;P&gt;//Get all the batches settled&lt;BR /&gt;var batches = gate.GetSettledBatchList(); //&lt;STRONG&gt;&amp;lt;--- The code fails here&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Console.WriteLine("All Batches in the last 30 days");&lt;BR /&gt;foreach (var item in batches)&lt;BR /&gt;{&lt;BR /&gt;Console.WriteLine("Batch ID: {0}, Settled On : {1}", item.ID, item.SettledOn.ToShortDateString());&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Console.WriteLine("*****************************************************");&lt;BR /&gt;Console.WriteLine();&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;var transactions = gate.GetTransactionList();&lt;BR /&gt;foreach (var item in transactions)&lt;BR /&gt;{&lt;BR /&gt;Console.WriteLine("Transaction {0}: Card: {1} for {2} on {3}", item.TransactionID, item.CardNumber, item.SettleAmount.ToString("C"), item.DateSubmitted.ToShortDateString());&lt;BR /&gt;}&lt;BR /&gt;Console.Read();&lt;/P&gt;&lt;P&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;*******************************************************&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using Visula Studio and creating a console application in C# for the above code.&lt;/P&gt;&lt;P&gt;I have also referenced the&amp;nbsp;AuthorizeNet.dll in my solution.&lt;/P&gt;&lt;P&gt;Any help will be highly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance!!!&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2012 07:36:21 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-processing-request-E00007-User-authentication-failed-due/m-p/30844#M16119</guid>
      <dc:creator>DWDeveloper</dc:creator>
      <dc:date>2012-10-25T07:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error processing request: E00007 - User authentication failed due to invalid authentication valu</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-processing-request-E00007-User-authentication-failed-due/m-p/30846#M16120</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error seems to be due to the fact that the Gateway is pointing to the test site and I am using production credentials.&lt;/P&gt;&lt;P&gt;TEST_URL "&lt;A href="https://apitest.authorize.net/xml/v1/request.api" target="_blank"&gt;https://apitest.authorize.net/xml/v1/request.api&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;URL "&lt;A href="https://api.authorize.net/xml/v1/request.api" target="_blank"&gt;https://api.authorize.net/xml/v1/request.api&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At runtime its is taking the value from the TEST_URL.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas on how to make the gateway point to the Prod url as the value of the ServiceURL?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2012 10:06:29 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-processing-request-E00007-User-authentication-failed-due/m-p/30846#M16120</guid>
      <dc:creator>DWDeveloper</dc:creator>
      <dc:date>2012-10-25T10:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error processing request: E00007 - User authentication failed due to invalid authentication valu</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-processing-request-E00007-User-authentication-failed-due/m-p/30848#M16121</link>
      <description>&lt;P&gt;Change&lt;/P&gt;&lt;P&gt;var gate = new ReportingGateway("MY API ", "MY Transaction Key");&lt;/P&gt;&lt;P&gt;To&lt;/P&gt;&lt;P&gt;var gate = new ReportingGateway("MY API ", "MY Transaction Key",&amp;nbsp;ServiceMode.Live);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2012 11:16:00 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-processing-request-E00007-User-authentication-failed-due/m-p/30848#M16121</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2012-10-25T11:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error processing request: E00007 - User authentication failed due to invalid authentication valu</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-processing-request-E00007-User-authentication-failed-due/m-p/30850#M16122</link>
      <description>&lt;P&gt;Many many Thanks &amp;nbsp;for the reply&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/1353" target="_self"&gt;RaynorC1emen7&lt;/A&gt;.!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now it is taking the prod URL for the connecting to the gateway. But the error still persists.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"Error processing request: E00007 - User authentication failed due to invalid authentication values."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a way to check if the API Login ID and Transaction Key are consistent? I have no other creds but these.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in Advance!!!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2012 11:54:55 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-processing-request-E00007-User-authentication-failed-due/m-p/30850#M16122</guid>
      <dc:creator>DWDeveloper</dc:creator>
      <dc:date>2012-10-25T11:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error processing request: E00007 - User authentication failed due to invalid authentication valu</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-processing-request-E00007-User-authentication-failed-due/m-p/30852#M16123</link>
      <description>&lt;P&gt;Both are case sensitive, and make sure there is no spaces.&lt;/P&gt;&lt;P&gt;You can login to the account - settings to see the API login id. The transactionKey is not viewable, but you can regenerate it at the account settings.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2012 12:25:46 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-processing-request-E00007-User-authentication-failed-due/m-p/30852#M16123</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2012-10-25T12:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error processing request: E00007 - User authentication failed due to invalid authentication valu</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-processing-request-E00007-User-authentication-failed-due/m-p/51068#M26471</link>
      <description>&lt;P&gt;I get this usually when I'm processing a CIM transaction and passing an ID generated within the Sandbox to the Live API key values.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2015 22:18:24 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-processing-request-E00007-User-authentication-failed-due/m-p/51068#M26471</guid>
      <dc:creator>JonMorrison99</dc:creator>
      <dc:date>2015-06-08T22:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error processing request: E00007 - User authentication failed due to invalid authentication valu</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-processing-request-E00007-User-authentication-failed-due/m-p/69631#M42620</link>
      <description>&lt;DIV&gt;We have tested making a $2 payment using a live Card but we face the below issue.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;[code:net\authorize\api\contract\v1\MessagesType\MessageAType:private] =&amp;gt; E00007&lt;BR /&gt;[text:net\authorize\api\contract\v1\MessagesType\MessageAType:private] =&amp;gt; User authentication failed due to invalid authentication values.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;We are using the SDK from Authorize.Net and not using the API endpoint.&lt;/DIV&gt;&lt;DIV&gt;We are using the&amp;nbsp;&lt;A href="https://developer.authorize.net/api/reference/#accept-suite-create-an-accept-payment-transaction" target="_blank" rel="noopener"&gt;https://developer.authorize.net/api/reference/#accept-suite-create-an-accept-payment-transaction&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;We are using the below script :&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;define("AUTHORIZENET_LOG_FILE","/tmp/phplog");

	// Common setup for API credentials  
	  $merchantAuthentication = new AnetAPI\MerchantAuthenticationType();   
	  $merchantAuthentication-&amp;gt;setName("45dW3UnkACq");   
	  $merchantAuthentication-&amp;gt;setTransactionKey("732fkpfR8X23Q9hY");   
	  $refId = 'ref' . time();

	// Create the payment object for a payment nonce
	  $opaqueData = new AnetAPI\OpaqueDataType();
	  $opaqueData-&amp;gt;setDataDescriptor($_POST["dataDescriptor1"]);
      $opaqueData-&amp;gt;setDataValue($_POST["dataValue1"]);
	  //   $creditCard-&amp;gt;setCardNumber("4111111111111111");  
	  //   $creditCard-&amp;gt;setExpirationDate( "2038-12");
	  //   $creditCard-&amp;gt;setCardCode("123");
	  
	// Add the payment data to a paymentType object
	  $paymentOne = new AnetAPI\PaymentType();
	  $paymentOne-&amp;gt;setOpaqueData($opaqueData);
	  //   $paymentOne = new AnetAPI\PaymentType();
	  //   $paymentOne-&amp;gt;setCreditCard($creditCard);

	// Create order information
	  $order = new AnetAPI\OrderType();
	  // $order-&amp;gt;setInvoiceNumber("10101");
	  $order-&amp;gt;setDescription("Trip for ".$_SESSION["tour"]);

	// Set the customer's Bill To address
	  $customerAddress = new AnetAPI\CustomerAddressType();
	  $customerAddress-&amp;gt;setFirstName($_SESSION["fname"]);
	  $customerAddress-&amp;gt;setLastName($_SESSION["lname"]);
	  $customerAddress-&amp;gt;setCompany("");
	  $customerAddress-&amp;gt;setAddress($_SESSION["street"]);
	  $customerAddress-&amp;gt;setCity($_SESSION["city"]);
	  $customerAddress-&amp;gt;setState($_SESSION["state"]);
	  $customerAddress-&amp;gt;setZip($_SESSION["zip"]);
	  $customerAddress-&amp;gt;setCountry($_SESSION["country"]);

	// Set the customer's identifying information
	  $customerData = new AnetAPI\CustomerDataType();
	  $customerData-&amp;gt;setType("individual");
	  $customerData-&amp;gt;setId($contactid);
	  $customerData-&amp;gt;setEmail($_SESSION["email"]);

	// Add values for transaction settings
	  $duplicateWindowSetting = new AnetAPI\SettingType();
	  $duplicateWindowSetting-&amp;gt;setSettingName("duplicateWindow");
	  $duplicateWindowSetting-&amp;gt;setSettingValue("60");

	// Add some merchant defined fields. These fields won't be stored with the transaction,
	// but will be echoed back in the response.
	  $merchantDefinedField1 = new AnetAPI\UserFieldType();
	  $merchantDefinedField1-&amp;gt;setName("customerLoyaltyNum");
	  $merchantDefinedField1-&amp;gt;setValue(time());

	  $merchantDefinedField2 = new AnetAPI\UserFieldType();
	  $merchantDefinedField2-&amp;gt;setName("favoriteColor");
	  $merchantDefinedField2-&amp;gt;setValue("blue");

	  // Create a transaction
	  $transactionRequestType = new AnetAPI\TransactionRequestType();
	  $transactionRequestType-&amp;gt;setTransactionType("authCaptureTransaction");   
	  $transactionRequestType-&amp;gt;setAmount($_SESSION['bookprice']);
	  $transactionRequestType-&amp;gt;setOrder($order);
	  $transactionRequestType-&amp;gt;setPayment($paymentOne);
	  $transactionRequestType-&amp;gt;setBillTo($customerAddress);
	  $transactionRequestType-&amp;gt;setCustomer($customerData);
	  $transactionRequestType-&amp;gt;addToTransactionSettings($duplicateWindowSetting);
	  $transactionRequestType-&amp;gt;addToUserFields($merchantDefinedField1);
	  $transactionRequestType-&amp;gt;addToUserFields($merchantDefinedField2);
	  $request = new AnetAPI\CreateTransactionRequest();
	  $request-&amp;gt;setMerchantAuthentication($merchantAuthentication);
	  $request-&amp;gt;setRefId( $refId);
	  $request-&amp;gt;setTransactionRequest($transactionRequestType);
	  $controller = new AnetController\CreateTransactionController($request);
	  $response = $controller-&amp;gt;executeWithApiResponse(\net\authorize\api\constants\ANetEnvironment::SANDBOX);   
	
	  print_r($response);&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 08 Nov 2019 14:44:04 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-processing-request-E00007-User-authentication-failed-due/m-p/69631#M42620</guid>
      <dc:creator>Sourav12_34</dc:creator>
      <dc:date>2019-11-08T14:44:04Z</dc:date>
    </item>
  </channel>
</rss>

