<?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 PHP SDK Sandbox detailed Decline error response / note in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-SDK-Sandbox-detailed-Decline-error-response-note/m-p/68826#M41965</link>
    <description>&lt;P&gt;Hi, Currently I'm using&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$tresponse = $response-&amp;gt;getTransactionResponse();&lt;/P&gt;&lt;P&gt;echo json_encode($tresponse, JSON_PRETTY_PRINT);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To get a structured array-like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{ "responseCode": "2", "authCode": "", "avsResultCode": "Y", "cvvResultCode": "P", "cavvResultCode": "2", "transId": "40036878630", "refTransID": "", "transHash": "", "testRequest": "0", "accountNumber": "XXXX1111", "accountType": "Visa", "errors": { "error": [ { "errorCode": "3", "errorText": "This transaction has been declined." } ] }, "transHashSha2": "" }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to&amp;nbsp;&lt;A href="https://developer.authorize.net/hello_world/testing_guide/" target="_blank"&gt;https://developer.authorize.net/hello_world/testing_guide/&lt;/A&gt;&amp;nbsp;How to get the following notes or texts?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;"General bank decline."&lt;/LI&gt;&lt;LI&gt;"Referral to voice authorization center."&lt;/LI&gt;&lt;LI&gt;"An unknown error occurred during processing."&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Thu, 22 Aug 2019 05:01:47 GMT</pubDate>
    <dc:creator>damosresultados</dc:creator>
    <dc:date>2019-08-22T05:01:47Z</dc:date>
    <item>
      <title>PHP SDK Sandbox detailed Decline error response / note</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-SDK-Sandbox-detailed-Decline-error-response-note/m-p/68826#M41965</link>
      <description>&lt;P&gt;Hi, Currently I'm using&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$tresponse = $response-&amp;gt;getTransactionResponse();&lt;/P&gt;&lt;P&gt;echo json_encode($tresponse, JSON_PRETTY_PRINT);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To get a structured array-like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{ "responseCode": "2", "authCode": "", "avsResultCode": "Y", "cvvResultCode": "P", "cavvResultCode": "2", "transId": "40036878630", "refTransID": "", "transHash": "", "testRequest": "0", "accountNumber": "XXXX1111", "accountType": "Visa", "errors": { "error": [ { "errorCode": "3", "errorText": "This transaction has been declined." } ] }, "transHashSha2": "" }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to&amp;nbsp;&lt;A href="https://developer.authorize.net/hello_world/testing_guide/" target="_blank"&gt;https://developer.authorize.net/hello_world/testing_guide/&lt;/A&gt;&amp;nbsp;How to get the following notes or texts?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;"General bank decline."&lt;/LI&gt;&lt;LI&gt;"Referral to voice authorization center."&lt;/LI&gt;&lt;LI&gt;"An unknown error occurred during processing."&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 05:01:47 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-SDK-Sandbox-detailed-Decline-error-response-note/m-p/68826#M41965</guid>
      <dc:creator>damosresultados</dc:creator>
      <dc:date>2019-08-22T05:01:47Z</dc:date>
    </item>
  </channel>
</rss>

