Reply
Member
Posts: 4
Registered: ‎03-24-2013

Transaction API Access denied, but its enabled in my account.

Does it take some time to enable? Or is something else wrong?

 

Thanks,

Jason

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

Re: Transaction API Access denied, but its enabled in my account.

It should take any time, once you enable it, it is good to go, double check the account settings. What error are you getting?

Member
Posts: 4
Registered: ‎03-24-2013

Re: Transaction API Access denied, but its enabled in my account.

I'm getting ErrorE00011Access denied. You do not have permission to call the Transaction Details API.

 

Here's the code I'm using:

 

require_once "AuthorizeNet.php";
define("AUTHORIZENET_API_LOGIN_ID", "REMOVED");
define("AUTHORIZENET_TRANSACTION_KEY", "REMOVED");
$request = new AuthorizeNetTD;
$response = $request->getTransactionDetails("5069754179");
echo print_r($response);

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

Re: Transaction API Access denied, but its enabled in my account.

and you double check your account to make sure it did enabled?

Member
Posts: 4
Registered: ‎03-24-2013

Re: Transaction API Access denied, but its enabled in my account.

Yes for sure! I've even disabled it and re-enabled it. and rercreated my api key. I'm running out of things to try. 

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

Re: Transaction API Access denied, but its enabled in my account.

I try it on my test account, and it is working fine.

Member
Posts: 4
Registered: ‎03-24-2013

Re: Transaction API Access denied, but its enabled in my account.

Then I'm kinda lost. It would be cool to get this working. I found something. When I put in a fake api key it still gave me the same error. Does it not tell you when your api key is incorrect? 

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

Re: Transaction API Access denied, but its enabled in my account.

Yes it should tell you that the loginID is incorrect first.