Reply
Highlighted
Member
Posts: 1
Registered: ‎02-09-2014

Transaction details api authentication

Hello, 

 

I am trying to use the transaction details api to run the sample code from here to get last 30 days of transactions.  I am receiving the exception "User authentication failed due to invalid authentication values."

 

I've checked all the suggestions I've found in the forums;

Verified that API is enabled under my live account;

Recreated the transaction key multiple times.. 

 

If I change the login and trx key to my sandbox values it works fine, so I know the code works..  I don't know what else to try. Please help!

 

Thanks!

 

Matt

Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Transaction details api authentication

If all you change it the login and tranKey to your sandbox values and it works. It mean the url that you are using are the sandbox url.   Live/Production server use a different url. depend on soap or xml, read the doc to see which one you should be using http://developer.authorize.net/api/transaction_details/