- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a payment form that uses the AIM method to post to Auth.net via PHP. It works great until our customer resets their Transaction Key. I need to know if there is a way to determine (via PHP) if a merchant has reset their Transaction Key. Any suggestions? Sample code?
Thanks in advance,
Solved! Go to Solution.
12-08-2011 07:28 AM
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Make a call to the Transaction Detail API which doesn't require a transaction being processed but will require authentication. That should do exactly what you need with no cost to the merchant.
-------------------------------------------------------------------------------------------------------------------------------------------
John Conde :: Certified Authorize.Net Developer (Brainyminds) :: Official Authorize.Net Blogger
NEW! Handling Authorize.Net's Webhooks with PHP
Integrate Every Authorize.Net JSON API with One PHP Class (Sample code included)
Tutorials for integrating Authorize.Net with PHP: AIM, ARB, CIM, Silent Post
All About Authorize.Net's Silent Post

12-08-2011 07:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is no way to determine this programmatically except to see an authentication error. It should be error code 13 - The merchant login ID or password is invalid or the account is inactive.
-------------------------------------------------------------------------------------------------------------------------------------------
John Conde :: Certified Authorize.Net Developer (Brainyminds) :: Official Authorize.Net Blogger
NEW! Handling Authorize.Net's Webhooks with PHP
Integrate Every Authorize.Net JSON API with One PHP Class (Sample code included)
Tutorials for integrating Authorize.Net with PHP: AIM, ARB, CIM, Silent Post
All About Authorize.Net's Silent Post

12-08-2011 07:44 AM - edited 12-08-2011 07:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there a way to validate authentication without a transaction? In other words, could I take the API Login ID and the Transaction key and make a call to Auth.net to generate the error code 13 without doing a financial transaction? Ultimately I'm looking for a way to be proactive...so I could easily setup a cron that checks every day to see if the transaction key has changed and notify the client if it is no longer valid.
Thanks in advance.
12-08-2011 07:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Make a call to the Transaction Detail API which doesn't require a transaction being processed but will require authentication. That should do exactly what you need with no cost to the merchant.
-------------------------------------------------------------------------------------------------------------------------------------------
John Conde :: Certified Authorize.Net Developer (Brainyminds) :: Official Authorize.Net Blogger
NEW! Handling Authorize.Net's Webhooks with PHP
Integrate Every Authorize.Net JSON API with One PHP Class (Sample code included)
Tutorials for integrating Authorize.Net with PHP: AIM, ARB, CIM, Silent Post
All About Authorize.Net's Silent Post

12-08-2011 07:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Beautiful! You are amazing!!! Can you point me to any PHP sample code?
Again, thanks in advance!
12-08-2011 08:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just created some code for working with all of the XML APIs including the Transaction Detail API. It includes sample code. You can find it at the AuthnetXML Github Repository. You should see a link to download the zipfile with all of the code. Hopefully you find it useful.
-------------------------------------------------------------------------------------------------------------------------------------------
John Conde :: Certified Authorize.Net Developer (Brainyminds) :: Official Authorize.Net Blogger
NEW! Handling Authorize.Net's Webhooks with PHP
Integrate Every Authorize.Net JSON API with One PHP Class (Sample code included)
Tutorials for integrating Authorize.Net with PHP: AIM, ARB, CIM, Silent Post
All About Authorize.Net's Silent Post

12-08-2011 08:09 AM
