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.?