<?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: Switch from sandbox to production gets HTML 406 response in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Switch-from-sandbox-to-production-gets-HTML-406-response/m-p/87844#M55325</link>
    <description>&lt;P&gt;I'm having the same issue with getTransactionRequest, but on the sandbox credentials. I'm just trying a simple lookup through postman. Has this been resolved if so how?&lt;/P&gt;</description>
    <pubDate>Thu, 19 Oct 2023 16:07:45 GMT</pubDate>
    <dc:creator>awigglesworth77</dc:creator>
    <dc:date>2023-10-19T16:07:45Z</dc:date>
    <item>
      <title>Switch from sandbox to production gets HTML 406 response</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Switch-from-sandbox-to-production-gets-HTML-406-response/m-p/58150#M32820</link>
      <description>&lt;P&gt;This is on an IBM i at v5r4 using RPGXML from Krengeltech and an RPGLE program.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It worked fine in the sandbox, but when we changed the URI to production and started using our production credentials, we get an HTTP 406 Not acceptable response. &amp;nbsp;Here's the log from RPGXML:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;- - - - - - - - - - - - - - - - - - - - - - - C O N N E C T I O N   F E E D B A C K - - - - - - - - - - - - - - - - - - - - - - - - 
About to connect() to secure2.authorize.net port 443 (#0)
  Trying 23.209.62.245... connected
- - - - - - - - - - - - - - - - - - - - - - - -  R A W   R E Q U E S T   D A T A  - - - - - - - - - - - - - - - - - - - - - - - - - 
POST /xml/v1/request.api HTTP/1.0
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)                                                                                  
Host: secure2.authorize.net
Accept: */*
Content-Type: text/xml
Content-Length: 679

&amp;lt;createTransactionRequest 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;refId&amp;gt;***&amp;lt;/refId&amp;gt;
  &amp;lt;transactionRequest&amp;gt;
    &amp;lt;transactionType&amp;gt;authOnlyTransaction&amp;lt;/transactionType&amp;gt;
    &amp;lt;amount&amp;gt;.01&amp;lt;/amount&amp;gt;
    &amp;lt;profile&amp;gt;
      &amp;lt;customerProfileId&amp;gt;123400000000000&amp;lt;/customerProfileId&amp;gt;
      &amp;lt;paymentProfile&amp;gt;
        &amp;lt;paymentProfileId&amp;gt;000012340000000&amp;lt;/paymentProfileId&amp;gt;
      &amp;lt;/paymentProfile&amp;gt;
    &amp;lt;/profile&amp;gt;
    &amp;lt;order&amp;gt;
     &amp;lt;invoiceNumber&amp;gt;186230&amp;lt;/invoiceNumber&amp;gt;
    &amp;lt;/order&amp;gt;
  &amp;lt;/transactionRequest&amp;gt;
&amp;lt;/createTransactionRequest&amp;gt;
- - - - - - - - - - - - - - - - - - - - - - - - R A W   R E S P O N S E   D A T A - - - - - - - - - - - - - - - - - - - - - - - - - 
HTTP/1.0 200 OK
Content-Type: text/html
Last-Modified: Wed, 16 Nov 2016 06:17:44 GMT
Accept-Ranges: bytes
ETag: "0347c24d13fd21:0"
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
Content-Length: 568
Date: Fri, 19 May 2017 05:52:41 GMT
Connection: close

&amp;lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&amp;gt;
&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;Error&amp;lt;/title&amp;gt;
&amp;lt;link href="https://account.authorize.net/ui/themes/anet.css" type="text/css" rel="stylesheet"&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;

	&amp;lt;div style="padding: 10px;"&amp;gt;
		&amp;lt;div id="PageHeader"&amp;gt;
			&amp;lt;div id="Title"&amp;gt;
				Error
			&amp;lt;/div&amp;gt;
			&amp;lt;div class="Line"&amp;gt;
				&amp;lt;hr/&amp;gt;
			&amp;lt;/div&amp;gt;
		&amp;lt;/div&amp;gt;
		&amp;lt;div&amp;gt;
			An unanticipated error occurred while processing this request. Please click your 
			browser’s Back button to return to the previous page. 
		&amp;lt;/div&amp;gt;
	&amp;lt;/div&amp;gt;
	

&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
- - - - - - - - - - - - - - - - - - - - - - - C O N N E C T I O N   F E E D B A C K - - - - - - - - - - - - - - - - - - - - - - - - 
Closing connection #0&lt;/PRE&gt;&lt;P&gt;Any ideas welcome.&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 20:11:17 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Switch-from-sandbox-to-production-gets-HTML-406-response/m-p/58150#M32820</guid>
      <dc:creator>PDow</dc:creator>
      <dc:date>2017-05-19T20:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Switch from sandbox to production gets HTML 406 response</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Switch-from-sandbox-to-production-gets-HTML-406-response/m-p/58152#M32822</link>
      <description>&lt;P&gt;I forgot to mention that we solved the 406 response, which was caused by having&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Accept: text/xml&lt;/PRE&gt;&lt;P&gt;that prevented my end from receiving the XML that authorize.net was sending. Once I changed it to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Accept: */*&lt;/PRE&gt;&lt;P&gt;we started getting the HTML which showed the "unanticpated error".&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 20:37:40 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Switch-from-sandbox-to-production-gets-HTML-406-response/m-p/58152#M32822</guid>
      <dc:creator>PDow</dc:creator>
      <dc:date>2017-05-19T20:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Switch from sandbox to production gets HTML 406 response</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Switch-from-sandbox-to-production-gets-HTML-406-response/m-p/58266#M32931</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21748"&gt;@PDow&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do any other transaction types produce a different response? For example, if you don't try the customer profile, but just try to send a dummy card number do you get the same thing?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you deliberately send bad credentials, do you get an authentication error? Or the same html page?&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2017 18:21:19 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Switch-from-sandbox-to-production-gets-HTML-406-response/m-p/58266#M32931</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-05-30T18:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Switch from sandbox to production gets HTML 406 response</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Switch-from-sandbox-to-production-gets-HTML-406-response/m-p/87260#M54900</link>
      <description>&lt;P&gt;Same 406 error when I try to hit transaction search API&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 07:28:04 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Switch-from-sandbox-to-production-gets-HTML-406-response/m-p/87260#M54900</guid>
      <dc:creator>sambar</dc:creator>
      <dc:date>2023-08-07T07:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Switch from sandbox to production gets HTML 406 response</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Switch-from-sandbox-to-production-gets-HTML-406-response/m-p/87844#M55325</link>
      <description>&lt;P&gt;I'm having the same issue with getTransactionRequest, but on the sandbox credentials. I'm just trying a simple lookup through postman. Has this been resolved if so how?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 16:07:45 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Switch-from-sandbox-to-production-gets-HTML-406-response/m-p/87844#M55325</guid>
      <dc:creator>awigglesworth77</dc:creator>
      <dc:date>2023-10-19T16:07:45Z</dc:date>
    </item>
  </channel>
</rss>

