<?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 Transaction Failed Error Code : 2 in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Transaction-Failed-Error-Code-2/m-p/65140#M38849</link>
    <description>&lt;P&gt;Am getting error code 2 on my payment integration, whenever I process payment with a live card on my website with merchant API credentials. My&amp;nbsp;credentials&amp;nbsp;are live.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In SANDBOX env everything is working fine. My test card are fine and am getting sucess with transaction ID.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I tried live API credentials, am getting Error Code 2, payment declined. The Same card is working fine while using directly on Authorize.net payment process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I followed this&amp;nbsp;&lt;A href="https://www.codementor.io/codementorteam/integrating-authorize-dot-net-payment-gateway-in-php-ecommerce-l52uiydkg" target="_blank"&gt;CodeMentor&lt;/A&gt;&amp;nbsp;tutorial for Authorize.net and Official Developer guide for the Authorize.net.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My production enviroment too set as PRODUCTION and my API endpoint for PRODUCTION is&amp;nbsp;&lt;A href="https://api2.authorize.net&amp;nbsp;" target="_blank"&gt;https://api2.authorize.net&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which is provided in the sample code. Do I need to change that to&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://api.authorize.net/xml/v1/request.api" target="_blank"&gt;https://api.authorize.net/xml/v1/request.api&lt;/A&gt; to accept the payments.?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Nov 2018 12:17:29 GMT</pubDate>
    <dc:creator>shashank</dc:creator>
    <dc:date>2018-11-22T12:17:29Z</dc:date>
    <item>
      <title>Transaction Failed Error Code : 2</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Transaction-Failed-Error-Code-2/m-p/65140#M38849</link>
      <description>&lt;P&gt;Am getting error code 2 on my payment integration, whenever I process payment with a live card on my website with merchant API credentials. My&amp;nbsp;credentials&amp;nbsp;are live.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In SANDBOX env everything is working fine. My test card are fine and am getting sucess with transaction ID.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I tried live API credentials, am getting Error Code 2, payment declined. The Same card is working fine while using directly on Authorize.net payment process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I followed this&amp;nbsp;&lt;A href="https://www.codementor.io/codementorteam/integrating-authorize-dot-net-payment-gateway-in-php-ecommerce-l52uiydkg" target="_blank"&gt;CodeMentor&lt;/A&gt;&amp;nbsp;tutorial for Authorize.net and Official Developer guide for the Authorize.net.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My production enviroment too set as PRODUCTION and my API endpoint for PRODUCTION is&amp;nbsp;&lt;A href="https://api2.authorize.net&amp;nbsp;" target="_blank"&gt;https://api2.authorize.net&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which is provided in the sample code. Do I need to change that to&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://api.authorize.net/xml/v1/request.api" target="_blank"&gt;https://api.authorize.net/xml/v1/request.api&lt;/A&gt; to accept the payments.?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Nov 2018 12:17:29 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Transaction-Failed-Error-Code-2/m-p/65140#M38849</guid>
      <dc:creator>shashank</dc:creator>
      <dc:date>2018-11-22T12:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction Failed Error Code : 2</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Transaction-Failed-Error-Code-2/m-p/65186#M38885</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/27210"&gt;@shashank&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A transaction response of 2 is a decline by the issuing bank.&amp;nbsp; You'll need to work with your merchant service provider to learn more.&amp;nbsp; We don't receive any additional details for a decline.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2018 23:29:26 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Transaction-Failed-Error-Code-2/m-p/65186#M38885</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2018-11-28T23:29:26Z</dc:date>
    </item>
  </channel>
</rss>

