<?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 Sandbox Testing Hosted Payment Form Error: User authentication failed due to invalid authentication in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sandbox-Testing-Hosted-Payment-Form-Error-User-authentication/m-p/89985#M56671</link>
    <description>&lt;P&gt;I have been testing the hosted payment form in sandbox mode on my local dev as "127.0.0.1".&amp;nbsp; All works as expected.&amp;nbsp; I recently move it to a UAT site on the public web for unit testing.&amp;nbsp; The hosted form comes up as expected but as soon as I provide payment (credit card) info and submit I get, "&lt;SPAN&gt;User authentication failed due to invalid authentication values." back from the communicator.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I notice that the post to api.ashx is going to "&lt;A href="https://accept.authorize.net/Payment/Api.ashx&amp;quot;" target="_blank" rel="noopener"&gt;https://accept.authorize.net/Payment/Api.ashx"&lt;/A&gt;&amp;nbsp;on my www. site.&amp;nbsp; On my local, it posts to&amp;nbsp;&lt;A href="https://test.authorize.net/Payment/Api.ashx" target="_blank" rel="noopener"&gt;https://test.authorize.net/Payment/Api.ashx&lt;/A&gt;.&amp;nbsp; What is making my UAT environment post to the production hosted site rather than test?&amp;nbsp; I am using the same credentials on both sites and setting the initial call to the hosted form to&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://apitest.authorize.net/xml/v1/request.api" target="_blank" rel="noopener"&gt;https://apitest.authorize.net/xml/v1/request.api&lt;/A&gt;&amp;nbsp;on both sites.&lt;BR /&gt;&lt;BR /&gt;What am I missing?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Aug 2024 15:49:51 GMT</pubDate>
    <dc:creator>lark0805</dc:creator>
    <dc:date>2024-08-22T15:49:51Z</dc:date>
    <item>
      <title>Sandbox Testing Hosted Payment Form Error: User authentication failed due to invalid authentication</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sandbox-Testing-Hosted-Payment-Form-Error-User-authentication/m-p/89985#M56671</link>
      <description>&lt;P&gt;I have been testing the hosted payment form in sandbox mode on my local dev as "127.0.0.1".&amp;nbsp; All works as expected.&amp;nbsp; I recently move it to a UAT site on the public web for unit testing.&amp;nbsp; The hosted form comes up as expected but as soon as I provide payment (credit card) info and submit I get, "&lt;SPAN&gt;User authentication failed due to invalid authentication values." back from the communicator.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I notice that the post to api.ashx is going to "&lt;A href="https://accept.authorize.net/Payment/Api.ashx&amp;quot;" target="_blank" rel="noopener"&gt;https://accept.authorize.net/Payment/Api.ashx"&lt;/A&gt;&amp;nbsp;on my www. site.&amp;nbsp; On my local, it posts to&amp;nbsp;&lt;A href="https://test.authorize.net/Payment/Api.ashx" target="_blank" rel="noopener"&gt;https://test.authorize.net/Payment/Api.ashx&lt;/A&gt;.&amp;nbsp; What is making my UAT environment post to the production hosted site rather than test?&amp;nbsp; I am using the same credentials on both sites and setting the initial call to the hosted form to&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://apitest.authorize.net/xml/v1/request.api" target="_blank" rel="noopener"&gt;https://apitest.authorize.net/xml/v1/request.api&lt;/A&gt;&amp;nbsp;on both sites.&lt;BR /&gt;&lt;BR /&gt;What am I missing?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 15:49:51 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sandbox-Testing-Hosted-Payment-Form-Error-User-authentication/m-p/89985#M56671</guid>
      <dc:creator>lark0805</dc:creator>
      <dc:date>2024-08-22T15:49:51Z</dc:date>
    </item>
  </channel>
</rss>

