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 credentials are live.
In SANDBOX env everything is working fine. My test card are fine and am getting sucess with transaction ID.
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.
I followed this CodeMentor tutorial for Authorize.net and Official Developer guide for the Authorize.net.
My production enviroment too set as PRODUCTION and my API endpoint for PRODUCTION is https://api2.authorize.net
Which is provided in the sample code. Do I need to change that to https://api.authorize.net/xml/v1/request.api to accept the payments.?
Thanks
11-22-2018 04:17 AM
Hello @shashank
A transaction response of 2 is a decline by the issuing bank. You'll need to work with your merchant service provider to learn more. We don't receive any additional details for a decline.
Richard
11-28-2018 03:29 PM