<?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: User authentication failed due to invalid authentication values. in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/User-authentication-failed-due-to-invalid-authentication-values/m-p/63603#M37678</link>
    <description>&lt;P&gt;This is crazy. The lack of support from this company is seriously amazing. What could go wrong when you only have to change the login ID, transaction Key, and post URL? Apparently everything...&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jul 2018 17:55:00 GMT</pubDate>
    <dc:creator>daskjeeves</dc:creator>
    <dc:date>2018-07-06T17:55:00Z</dc:date>
    <item>
      <title>User authentication failed due to invalid authentication values.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/User-authentication-failed-due-to-invalid-authentication-values/m-p/60229#M34787</link>
      <description>&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created an Accept hosted integartion. This integration works fine in sandbox mode, but fails in LIVE mode with the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;User authentication failed due to invalid authentication values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I verified that my transactionKey and api_login_id are correct and that I am using the correct URL.&lt;/P&gt;&lt;P&gt;The settings on the auth.net account are set to LIVE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What else could be the issue? I see banter about requiring a signature key also, but nothing in the docs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the code for the request:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;getHostedPaymentPageRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;
&amp;lt;merchantAuthentication&amp;gt;
        &amp;lt;name&amp;gt;{hidden api_login_id}&amp;lt;/name&amp;gt;
        &amp;lt;transactionKey&amp;gt;{hidden transaction key}&amp;lt;/transactionKey&amp;gt;
&amp;lt;/merchantAuthentication&amp;gt;
&amp;lt;transactionRequest&amp;gt;
        &amp;lt;transactionType&amp;gt;authCaptureTransaction&amp;lt;/transactionType&amp;gt;
        &amp;lt;amount&amp;gt;7.94&amp;lt;/amount&amp;gt;
&amp;lt;order&amp;gt;
&amp;lt;invoiceNumber&amp;gt;138437174&amp;lt;/invoiceNumber&amp;gt;
&amp;lt;/order&amp;gt;
        &amp;lt;billTo&amp;gt;
         &amp;lt;firstName&amp;gt;MARK&amp;lt;/firstName&amp;gt;
         &amp;lt;lastName&amp;gt;WEXLER&amp;lt;/lastName&amp;gt;
         &amp;lt;company&amp;gt;WHIRLWIND INC&amp;lt;/company&amp;gt;
         &amp;lt;address&amp;gt;9811 ASHBURTON LANE&amp;lt;/address&amp;gt;
         &amp;lt;city&amp;gt;BETHESDA&amp;lt;/city&amp;gt;
         &amp;lt;state&amp;gt;MD&amp;lt;/state&amp;gt;
         &amp;lt;zip&amp;gt;20817&amp;lt;/zip&amp;gt;
         &amp;lt;country&amp;gt;US&amp;lt;/country&amp;gt;
      &amp;lt;/billTo&amp;gt;
      &amp;lt;shipTo&amp;gt;
         &amp;lt;firstName&amp;gt;MARK&amp;lt;/firstName&amp;gt;
         &amp;lt;lastName&amp;gt;WEXLER&amp;lt;/lastName&amp;gt;
         &amp;lt;company&amp;gt;WHIRLWIND INC&amp;lt;/company&amp;gt;
         &amp;lt;address&amp;gt;9811 ASHBURTON LANE&amp;lt;/address&amp;gt;
         &amp;lt;city&amp;gt;BETHESDA&amp;lt;/city&amp;gt;
         &amp;lt;state&amp;gt;MD&amp;lt;/state&amp;gt;
         &amp;lt;zip&amp;gt;20817&amp;lt;/zip&amp;gt;
         &amp;lt;country&amp;gt;US&amp;lt;/country&amp;gt;
      &amp;lt;/shipTo&amp;gt;

&amp;lt;/transactionRequest&amp;gt;
&amp;lt;hostedPaymentSettings&amp;gt;
        &amp;lt;setting&amp;gt;
                &amp;lt;settingName&amp;gt;hostedPaymentBillingAddressOptions&amp;lt;/settingName&amp;gt;
                &amp;lt;settingValue&amp;gt;{"show": true, "required":true}&amp;lt;/settingValue&amp;gt;
        &amp;lt;/setting&amp;gt;
        &amp;lt;setting&amp;gt;
                &amp;lt;settingName&amp;gt;hostedPaymentButtonOptions&amp;lt;/settingName&amp;gt;
                &amp;lt;settingValue&amp;gt;{"text": "Pay"}&amp;lt;/settingValue&amp;gt;
        &amp;lt;/setting&amp;gt;
        &amp;lt;setting&amp;gt;
                &amp;lt;settingName&amp;gt;hostedPaymentReturnOptions&amp;lt;/settingName&amp;gt;
                &amp;lt;settingValue&amp;gt;{"showReceipt" : false, "url":"https://www.breyerhorses.com/plugins/authnet_iframe_communicator.html","urlText":"Continue","cancelUrl":"https://www.breyerhorses.com/plugins/authnet_response.php?action=cancel","cancelUrlText":"Cancel"}&amp;lt;/settingValue&amp;gt;
        &amp;lt;/setting&amp;gt;
        &amp;lt;setting&amp;gt;
         &amp;lt;settingName&amp;gt;hostedPaymentShippingAddressOptions&amp;lt;/settingName&amp;gt;
         &amp;lt;settingValue&amp;gt;{"show": false, "required":false}&amp;lt;/settingValue&amp;gt;
&amp;lt;/setting&amp;gt;
        &amp;lt;setting&amp;gt;
                &amp;lt;settingName&amp;gt;hostedPaymentStyleOptions&amp;lt;/settingName&amp;gt;
                &amp;lt;settingValue&amp;gt;{"bgColor":"#B00"}&amp;lt;/settingValue&amp;gt;
        &amp;lt;/setting&amp;gt;
        &amp;lt;setting&amp;gt;
                &amp;lt;settingName&amp;gt;hostedPaymentIFrameCommunicatorUrl&amp;lt;/settingName&amp;gt;
                &amp;lt;settingValue&amp;gt;{"url": "https://www.breyerhorses.com/plugins/authnet_iframe_communicator.html"}&amp;lt;/settingValue&amp;gt;
        &amp;lt;/setting&amp;gt;
&amp;lt;/hostedPaymentSettings&amp;gt;
&amp;lt;/getHostedPaymentPageRequest&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2017 14:43:03 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/User-authentication-failed-due-to-invalid-authentication-values/m-p/60229#M34787</guid>
      <dc:creator>mwex501</dc:creator>
      <dc:date>2017-10-19T14:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: User authentication failed due to invalid authentication values.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/User-authentication-failed-due-to-invalid-authentication-values/m-p/63603#M37678</link>
      <description>&lt;P&gt;This is crazy. The lack of support from this company is seriously amazing. What could go wrong when you only have to change the login ID, transaction Key, and post URL? Apparently everything...&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2018 17:55:00 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/User-authentication-failed-due-to-invalid-authentication-values/m-p/63603#M37678</guid>
      <dc:creator>daskjeeves</dc:creator>
      <dc:date>2018-07-06T17:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: User authentication failed due to invalid authentication values.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/User-authentication-failed-due-to-invalid-authentication-values/m-p/63604#M37679</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/25137"&gt;@daskjeeves&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you provide more details on the issue faced by you ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please do note to use the correct url for sandbox and prod env as&amp;nbsp;&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#authentication&amp;nbsp;" target="_blank"&gt;https://developer.authorize.net/api/reference/index.html#authentication&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jul 2018 04:12:01 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/User-authentication-failed-due-to-invalid-authentication-values/m-p/63604#M37679</guid>
      <dc:creator>Anurag</dc:creator>
      <dc:date>2018-07-07T04:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: User authentication failed due to invalid authentication values.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/User-authentication-failed-due-to-invalid-authentication-values/m-p/63622#M37697</link>
      <description>&lt;P&gt;Anurag, I took your course a few weeks ago and learning more about PCI compliance was the reason we decided to switch over to Accept Hosted and your form so our backend code doesn't have to touch the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The test version works perfectly, everytime. The only thing I do to switch to live is switch the login ID, transaction key, and POST url. Where is the endpoint supposed to go, in a script tag at the bottom of the page? Because I have certainly tried that, and also tried it as the form POST, to no avail.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The documentation just seems to be lacking, and based on a lot of the stuff I am reading even on this forum, it has been for years.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please list every step that needs to be taken to switch from the test version to the live version?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 14:53:31 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/User-authentication-failed-due-to-invalid-authentication-values/m-p/63622#M37697</guid>
      <dc:creator>daskjeeves</dc:creator>
      <dc:date>2018-07-09T14:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: User authentication failed due to invalid authentication values.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/User-authentication-failed-due-to-invalid-authentication-values/m-p/63626#M37700</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/25137"&gt;@daskjeeves&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for joining the Webinar . We are going to do updates to Accept Hosted&amp;nbsp;Documentation&amp;nbsp; soon to make it clearer .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The urls to be used for step 1 for calling&amp;nbsp;&amp;nbsp;getHostedPaymentPageRequest&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Sandbox API Endpoint:&amp;nbsp;&lt;CODE&gt;&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;/CODE&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Production API Endpoint:&amp;nbsp;&lt;CODE&gt;&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;/CODE&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For Step 2 where you need to post the hosted token , the urls are as below&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4 id="Form_POST_URLs" class="feature-item-subtitle subtitle2"&gt;&lt;EM&gt;&lt;STRONG&gt;FORM POST URLS:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/H4&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Sandbox:&amp;nbsp;&lt;CODE&gt;&lt;A href="https://test.authorize.net/payment/payment" target="_blank"&gt;https://test.authorize.net/payment/payment&lt;/A&gt;&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Production:&amp;nbsp;&lt;CODE&gt;&lt;A href="https://accept.authorize.net/payment/payment" target="_blank"&gt;https://accept.authorize.net/payment/payment&lt;/A&gt;&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;if you still having issues please reach out to me on developer_feedback@authorize.net and we will look into it further .&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;Thanks&lt;/P&gt;
&lt;P class="p1"&gt;Anurag&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 05:43:20 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/User-authentication-failed-due-to-invalid-authentication-values/m-p/63626#M37700</guid>
      <dc:creator>Anurag</dc:creator>
      <dc:date>2018-07-10T05:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: User authentication failed due to invalid authentication values.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/User-authentication-failed-due-to-invalid-authentication-values/m-p/63633#M37707</link>
      <description>&lt;P&gt;I have been trying for nearly a week and&amp;nbsp;had live chats/phone calls with at least 8 authorize.net employees, and still no resolution. It shouldn't be this difficult, especially for the company providing the tool&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 16:23:48 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/User-authentication-failed-due-to-invalid-authentication-values/m-p/63633#M37707</guid>
      <dc:creator>daskjeeves</dc:creator>
      <dc:date>2018-07-10T16:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: User authentication failed due to invalid authentication values.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/User-authentication-failed-due-to-invalid-authentication-values/m-p/65554#M39197</link>
      <description>&lt;P&gt;I am having this same problem. Why does this thread end with no solution?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 12:25:32 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/User-authentication-failed-due-to-invalid-authentication-values/m-p/65554#M39197</guid>
      <dc:creator>lasertoast</dc:creator>
      <dc:date>2019-01-02T12:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: User authentication failed due to invalid authentication values.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/User-authentication-failed-due-to-invalid-authentication-values/m-p/67379#M40801</link>
      <description>&lt;P&gt;Has there still been no resolution? If anyone has found one pleas let me know.&lt;/P&gt;&lt;P&gt;I can't even use the sample merchant verification (PHP) script properly. It also throws a...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ERROR : Invalid response Response : E00007 User authentication failed due to invalid authentication values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SOMEONE please respond?&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/18835"&gt;@administrator&lt;/a&gt;&amp;nbsp;?&lt;/P&gt;</description>
      <pubDate>Sat, 13 Apr 2019 16:26:01 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/User-authentication-failed-due-to-invalid-authentication-values/m-p/67379#M40801</guid>
      <dc:creator>mrFreelancer201</dc:creator>
      <dc:date>2019-04-13T16:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: User authentication failed due to invalid authentication values.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/User-authentication-failed-due-to-invalid-authentication-values/m-p/67380#M40802</link>
      <description>&lt;P&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/29702"&gt;@mrFreelancer201&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/27698"&gt;@lasertoast&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An &lt;A href="https://developer.authorize.net/api/reference/responseCodes.html?code=E00007" target="_self"&gt;E00007&lt;/A&gt; is only caused when the API Login, Transaction Key or corresponding endpoint are incorrect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This may be simple, but let's walk through and confirm everything:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sandbox:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Set your endpoint to &lt;SPAN&gt;&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;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Login to &lt;A href="https://sandbox.authorize.net" target="_blank"&gt;https://sandbox.authorize.net&lt;/A&gt;, confirm your API Login and obtain a new transactionKey; or use the sample credentials shown below&lt;/LI&gt;
&lt;LI&gt;Send the following:&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&amp;lt;authenticateTestRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;
	&amp;lt;merchantAuthentication&amp;gt;
		&amp;lt;name&amp;gt;78BZ5Xprry&amp;lt;/name&amp;gt;
		&amp;lt;transactionKey&amp;gt;8s2F95Q7brhHd7Tn&amp;lt;/transactionKey&amp;gt;
	&amp;lt;/merchantAuthentication&amp;gt;
&amp;lt;/authenticateTestRequest&amp;gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that is successful, then try production&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Set your endpoint to &lt;SPAN&gt;&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;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Login to &lt;A href="https://account.authorize.net" target="_blank"&gt;https://account.authorize.net&lt;/A&gt;, confirm your API Login and obtain a new transactionKey&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Send the following:&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&amp;lt;authenticateTestRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;
	&amp;lt;merchantAuthentication&amp;gt;
		&amp;lt;name&amp;gt;*&amp;lt;/name&amp;gt;
		&amp;lt;transactionKey&amp;gt;**&amp;lt;/transactionKey&amp;gt;
	&amp;lt;/merchantAuthentication&amp;gt;
&amp;lt;/authenticateTestRequest&amp;gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Sat, 13 Apr 2019 18:01:18 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/User-authentication-failed-due-to-invalid-authentication-values/m-p/67380#M40802</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2019-04-13T18:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: User authentication failed due to invalid authentication values.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/User-authentication-failed-due-to-invalid-authentication-values/m-p/67383#M40803</link>
      <description>&lt;P&gt;So then what about a "E_WS_21" error? I'm honestly not concerned about the Merchant Verification Script but rather, the biggest issue I'm having is that error when attempting to fetch a token via Accept.js.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using the hosted form and I'm 1000% sure I'm using proper API Login ID and Public Client Key. Infact, re-generated the client key just to be sure. I essentially lifted the sample codes as described here:&amp;nbsp;&lt;A href="https://developer.authorize.net/api/reference/features/acceptjs.html#Using_the_Hosted_Payment_Information_Form" target="_blank"&gt;https://developer.authorize.net/api/reference/features/acceptjs.html#Using_the_Hosted_Payment_Information_Form&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, it works perfectly fine in sandbox and I'm able to fetch a token, thus continue with Nonce.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's my exact code for obtaining a token...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- START: Authnet Accept Hosted Form --&amp;gt;&lt;BR /&gt;&amp;lt;div class=\"authnetAcceptHostedWrapper\" data-open=\"0\"&amp;gt;&lt;BR /&gt;&amp;lt;input type=\"hidden\" name=\"dataValue\" id=\"dataValue\" /&amp;gt;&lt;BR /&gt;&amp;lt;input type=\"hidden\" name=\"dataDescriptor\" id=\"dataDescriptor\" /&amp;gt;&lt;BR /&gt;&amp;lt;div type=\"button\" class=\"AcceptUI payByAcceptHostedSubmit\" data-progress=\"0\" data-default=\"Click Here to Pay by Credit Card\"&lt;BR /&gt;data-billingAddressOptions='{\"show\":true, \"required\":false}'&lt;BR /&gt;data-apiLoginID=\"{$apiLoginID}\"&lt;BR /&gt;data-clientKey=\"{$apiClientKey}\"&lt;BR /&gt;data-acceptUIFormBtnTxt=\"Continue\"&lt;BR /&gt;data-acceptUIFormHeaderTxt=\"Secured Payment Information\"&lt;BR /&gt;data-responseHandler=\"AuthnetAcceptHostedResponseHandler\"&amp;gt;&lt;BR /&gt;Click Here to Enter Credit Card Details&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;img class=\"authnetAcceptHostedCCEnteredIcon\" src=\"images/icon_checkmark_1.png\"&amp;gt;&lt;BR /&gt;&amp;lt;!-- Load this php module's related JS Lib --&amp;gt;&lt;BR /&gt;&amp;lt;script src=\"js/module_authorizenet_accept_hosted.js\"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;{$authnet[$this-&amp;gt;mode]}&lt;BR /&gt;&amp;lt;!-- END: Authnet Accept Hosted Form --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$authnet[$this-&amp;gt;mode]&amp;nbsp; points to "&lt;A href="https://js.authorize.net/v3/AcceptUI.js" target="_blank"&gt;https://js.authorize.net/v3/AcceptUI.js&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's as strait forward as it gets. Please tell me what I'm doing wrong for Live mode?&lt;/P&gt;</description>
      <pubDate>Sun, 14 Apr 2019 04:28:30 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/User-authentication-failed-due-to-invalid-authentication-values/m-p/67383#M40803</guid>
      <dc:creator>mrFreelancer201</dc:creator>
      <dc:date>2019-04-14T04:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: User authentication failed due to invalid authentication values.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/User-authentication-failed-due-to-invalid-authentication-values/m-p/69028#M42124</link>
      <description>&lt;P&gt;So not sure if anyone figured this out already, but I was running into this issue as well. I was using their example code/API. Everything worked fine in sandbox mode but would fail with a authentication error with the production keys. I had to dig through their SDK code and found out the reason it was failing is because their code defaults to using the sandbox url. I use node so it might be slightly different for everyone else, but I went into the authorizenet folder &amp;gt; apicontrollersbase.js then changed this line&amp;nbsp;this._endpoint = constants.endpoint.sandbox; to this&amp;nbsp;this._endpoint = constants.endpoint.production; and everything started working correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is really annoying that I have to go into their code and find that line and change it in order for it to work. It should just force me to put in the url that I want to use, or accept the url as a parameter and then defualt to the sandbox if it is not provided. Hope that helps anyone who stumbles across this.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 16:04:02 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/User-authentication-failed-due-to-invalid-authentication-values/m-p/69028#M42124</guid>
      <dc:creator>mjp1</dc:creator>
      <dc:date>2019-09-10T16:04:02Z</dc:date>
    </item>
  </channel>
</rss>

