<?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 Nondescript API Repsonse Offers no way to troubleshoot in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Nondescript-API-Repsonse-Offers-no-way-to-troubleshoot/m-p/76767#M47983</link>
    <description>&lt;P&gt;Hello, I have a client who recently switched payment processors and as part of that their new processor set them up with a gateway account using Authorize.Net. They are using Magento 2 and its built in Authorize.Net capabilities. We've gotten all of the appropriate keys and set it up in the admin area, but when someone checks out we get a non descript error and I have no way to troubleshoot this from what I can see.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is happening is that a POST request is being made to&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://api2.authorize.net/xml/v1/request.api" target="_blank"&gt;https://api2.authorize.net/xml/v1/request.api&lt;/A&gt; in the following format (data redacted):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{&lt;BR /&gt;&amp;nbsp; "securePaymentContainerRequest": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "merchantAuthentication": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "name": "ResiliteStore",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "clientKey": "***************"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; },&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "data": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "type": "TOKEN",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "id": "***-***-***-***-***",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "token": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "cardNumber": "************7319",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "expirationDate": "******",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "cardCode": "***"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Inspecting the developer panel I see the following response:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;&amp;nbsp; "messages": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "resultCode": "Error",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "message": [&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "code": "E00001",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "text": "An error occurred during processing. Please try again."&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ]&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have contacted support via a chat and they offered no advice. They said this was a placeholder repsonse for if there was something wrong with the code. This is Magento 2's default code, so I am fairly sure there are no errors in it otherwise it wouldn't have made it to production. Support said my best bet was to post here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used Postman to make specific requests for things like Authenticating the account, getting merchant details and trying to get settled batches and those all give me apporpriate repsonses. So, I know the credentials that I have input are correct. I've also tried in Magento 2 to switch to sandboxx mode and it tells me my credentials are wrong - so I am fairly sure the nondescript error I am receiving is not because I am using bad credentials. For some reason, this one through Magento is not offering anything useful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There seem to be no logs in Authorize.Net's admin area. We've used Authorize.Net for many of our clients in the past and this was always a drawback. I've done custom integrations for Authorize.Net for many clients in the past so I am familiar with the basics from those days, but might be missing something new. I have no way to troubleshoot what is going on here from what I can tell.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise!a If we cannot figure this out we will have to try to find a different solution.&lt;/P&gt;</description>
    <pubDate>Fri, 11 Jun 2021 20:17:05 GMT</pubDate>
    <dc:creator>BVBAccelerate</dc:creator>
    <dc:date>2021-06-11T20:17:05Z</dc:date>
    <item>
      <title>Nondescript API Repsonse Offers no way to troubleshoot</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Nondescript-API-Repsonse-Offers-no-way-to-troubleshoot/m-p/76767#M47983</link>
      <description>&lt;P&gt;Hello, I have a client who recently switched payment processors and as part of that their new processor set them up with a gateway account using Authorize.Net. They are using Magento 2 and its built in Authorize.Net capabilities. We've gotten all of the appropriate keys and set it up in the admin area, but when someone checks out we get a non descript error and I have no way to troubleshoot this from what I can see.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is happening is that a POST request is being made to&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://api2.authorize.net/xml/v1/request.api" target="_blank"&gt;https://api2.authorize.net/xml/v1/request.api&lt;/A&gt; in the following format (data redacted):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{&lt;BR /&gt;&amp;nbsp; "securePaymentContainerRequest": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "merchantAuthentication": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "name": "ResiliteStore",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "clientKey": "***************"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; },&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "data": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "type": "TOKEN",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "id": "***-***-***-***-***",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "token": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "cardNumber": "************7319",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "expirationDate": "******",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "cardCode": "***"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Inspecting the developer panel I see the following response:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;&amp;nbsp; "messages": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "resultCode": "Error",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "message": [&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "code": "E00001",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "text": "An error occurred during processing. Please try again."&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ]&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have contacted support via a chat and they offered no advice. They said this was a placeholder repsonse for if there was something wrong with the code. This is Magento 2's default code, so I am fairly sure there are no errors in it otherwise it wouldn't have made it to production. Support said my best bet was to post here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used Postman to make specific requests for things like Authenticating the account, getting merchant details and trying to get settled batches and those all give me apporpriate repsonses. So, I know the credentials that I have input are correct. I've also tried in Magento 2 to switch to sandboxx mode and it tells me my credentials are wrong - so I am fairly sure the nondescript error I am receiving is not because I am using bad credentials. For some reason, this one through Magento is not offering anything useful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There seem to be no logs in Authorize.Net's admin area. We've used Authorize.Net for many of our clients in the past and this was always a drawback. I've done custom integrations for Authorize.Net for many clients in the past so I am familiar with the basics from those days, but might be missing something new. I have no way to troubleshoot what is going on here from what I can tell.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise!a If we cannot figure this out we will have to try to find a different solution.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jun 2021 20:17:05 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Nondescript-API-Repsonse-Offers-no-way-to-troubleshoot/m-p/76767#M47983</guid>
      <dc:creator>BVBAccelerate</dc:creator>
      <dc:date>2021-06-11T20:17:05Z</dc:date>
    </item>
  </channel>
</rss>

