<?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: Change in response from apitest.authorize.net (error E00040), even code has not changed in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Change-in-response-from-apitest-authorize-net-error-E00040-even/m-p/39668#M21605</link>
    <description>&lt;P&gt;I figured out the problem. In a very regrettable bit of programming in a third-party extension I bought, there was code that made and relied upon assumptions about the character length of the HTTP headers in the responses coming back from the Authorize.Net server. I just had to refactor that code to not make such assumptions. The HTTP headers coming from the sandbox server are currently about 200 characters longer than those coming from the Production server. I'm guessing those HTTP headers in the sandbox grew in length sometime this past Tuesday.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Mar 2014 23:11:49 GMT</pubDate>
    <dc:creator>SteveW</dc:creator>
    <dc:date>2014-03-06T23:11:49Z</dc:date>
    <item>
      <title>Change in response from apitest.authorize.net (error E00040), even code has not changed</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Change-in-response-from-apitest-authorize-net-error-E00040-even/m-p/39624#M21584</link>
      <description>&lt;P&gt;&lt;SPAN style="line-height: 16px;"&gt;Hi folks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 16px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;For over a year, my site has been using PHP (on a LAMP stack) to call the CIM API at &lt;A target="_blank" href="https://apitest.authorize.net/xml/v1/request.api"&gt;https://apitest.authorize.net/xml/v1/request.api&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It has been working fine until yesterday.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Starting sometime in the hours before 2014-03-05T01:58:20+00:00 (UTC), I started receiving error E00040 ("Customer Profile ID or Customer Payment Profile ID not found.") when submitting customer profile transactions. This is happening even though I have not changed my code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a sample of the response XML I get from the Authorize.Net host:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;lt;createCustomerProfileTransactionResponse xmlns:xsi="&lt;A target="_blank" href="http://www.w3.org/2001/XMLSchema-instance&amp;quot;"&gt;http://www.w3.org/2001/XMLSchema-instance"&lt;/A&gt; xmlns:xsd="&lt;A target="_blank" href="http://www.w3.org/2001/XMLSchema&amp;quot;"&gt;http://www.w3.org/2001/XMLSchema"&lt;/A&gt; xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;&amp;lt;messages&amp;gt;&amp;lt;resultCode&amp;gt;Error&amp;lt;/resultCode&amp;gt;&amp;lt;message&amp;gt;&amp;lt;code&amp;gt;E00040&amp;lt;/code&amp;gt;&amp;lt;text&amp;gt;Customer Profile ID or Customer Payment Profile ID not found.&amp;lt;/text&amp;gt;&amp;lt;/message&amp;gt;&amp;lt;/messages&amp;gt;&amp;lt;/createCustomerProfileTransactionResponse&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The docs at &lt;A target="_blank" href="http://developer.authorize.net/tools/cimerrorcodes/"&gt;http://developer.authorize.net/tools/cimerrorcodes/&lt;/A&gt; describe the problem as this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;API Error Code: E00040&lt;BR /&gt;Error Code Text: The record cannot be found.&lt;BR /&gt;Description: The profileID, paymentProfileId, or shippingAddressId for this request is not for this merchant.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Since I haven't changed my code, I'm puzzled why this would be happening. I have tried this with multiple test accounts, which I have because I have separate test accounts for my dev and staging environments. The problem happens with all of my test accounts.&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 style="line-height: 16px;"&gt;Is anyone else experiencing something like this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 16px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 16px;"&gt;Thank you for any insight you can provide.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2014 02:21:38 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Change-in-response-from-apitest-authorize-net-error-E00040-even/m-p/39624#M21584</guid>
      <dc:creator>SteveW</dc:creator>
      <dc:date>2014-03-06T02:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Change in response from apitest.authorize.net (error E00040), even code has not changed</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Change-in-response-from-apitest-authorize-net-error-E00040-even/m-p/39636#M21590</link>
      <description>&lt;P&gt;Just try it with my test account. it work fine. could be just a temporary problem on the sandbox server.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2014 12:12:41 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Change-in-response-from-apitest-authorize-net-error-E00040-even/m-p/39636#M21590</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2014-03-06T12:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Change in response from apitest.authorize.net (error E00040), even code has not changed</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Change-in-response-from-apitest-authorize-net-error-E00040-even/m-p/39668#M21605</link>
      <description>&lt;P&gt;I figured out the problem. In a very regrettable bit of programming in a third-party extension I bought, there was code that made and relied upon assumptions about the character length of the HTTP headers in the responses coming back from the Authorize.Net server. I just had to refactor that code to not make such assumptions. The HTTP headers coming from the sandbox server are currently about 200 characters longer than those coming from the Production server. I'm guessing those HTTP headers in the sandbox grew in length sometime this past Tuesday.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2014 23:11:49 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Change-in-response-from-apitest-authorize-net-error-E00040-even/m-p/39668#M21605</guid>
      <dc:creator>SteveW</dc:creator>
      <dc:date>2014-03-06T23:11:49Z</dc:date>
    </item>
  </channel>
</rss>

