Hello I am integrating authorize net to accept payments with my online ordering system. I was using a sandbox account that was not attached to the merchant account I am building for. I am getting an error when switching my sandbox's API Login ID and Transaction Key to the merchant accounts live API Login ID and live Transaction Key.
I am getting the error E00124 "The provided access token is invalid The access token used to validate the request is insufficient to do so. Applicable only to the Authorize.Net API when using OAuth as an authentication method.
07-31-2023 09:39 AM
On Friday, July 28th, 2023, I called Authorize Net tech support with a very similar issue.
I was using my sandbox account credentials, posting to the TEST URLs, trying to do a REFUND type transaction, receiving the same response you received.
I was told that I cannot post a REFUND to the test URLs. If I did try I would get the message you received.
I hth...
07-31-2023 10:21 AM
I had no issues with anything in my sandbox. I am only having this issue when in PRODUCTION and trying to use a real credit card along with a the merchants Live API Login ID and Transaction Key I am working for
07-31-2023 10:25 AM
Did you change from the TEST URL to the LIVE URL?
07-31-2023 06:46 PM
Many times when I am preparing a written description of a tech support request, and I am verifying each thing I write, I find something during that process that I missed, that helps me solve it.
You are ahead of me in this process, so I am not able to see from the perspective you have.
I've been reading the docs, so I answer from what I remember from them...
08-01-2023 09:15 AM
I understand that you're facing difficulties with the E00124 error in the Authorize.Net API, and you're unsure about whether to use OAuth or not. Let's break it down to clarify the situation:
1. **E00124 Error and OAuth:** The E00124 error you encountered is specific to the Authorize.Net API when using OAuth as the authentication method. This means that the API request requires an access token, and the token provided is either invalid or insufficient to validate the request. However, you mentioned that you are not using OAuth with your application, which makes this error unexpected.
2. **Using OAuth with Authorize.Net:** OAuth is an authentication protocol that allows secure access to APIs without revealing sensitive credentials. It is an optional method for authenticating API requests with Authorize.Net. If you are not intentionally using OAuth, it's possible that the API request is somehow being interpreted or processed as an OAuth request, leading to the error.
3. **Partner Information in Step 1:** The guide you found online about OAuth with Authorize.Net may not be directly relevant to your situation if you are not using OAuth. The "Partner" in Step 1 of that guide typically refers to third-party service providers or partners who integrate with Authorize.Net on behalf of their merchants. If you are not working as a partner, this step may not apply to you.
To troubleshoot the issue and resolve the error, consider the following steps:
a. **Check API Request:** Double-check your API request to ensure that there are no inadvertent OAuth headers or parameters being sent.
b. **Contact Authorize.Net Support:** Reach out to Authorize.Net support again, providing them with as much detail as possible about your integration, including the API request headers, endpoint, and payload. Explain that you are not using OAuth and are unsure why you are receiving this error.
c. **Review Developer Documentation:** Carefully review the official Authorize.Net API documentation to ensure that you are following the correct guidelines for your intended integration method (non-OAuth).
d. **Community Forums:** Consider posting your question on the Authorize.Net community forums or developer forums. Other developers and experts may have encountered similar issues and can offer helpful insights.
It's essential to understand the authentication method you are using and ensure that your API requests align with the correct approach. If you still face difficulties, expert guidance from the Authorize.Net community or support team should be able to assist you further.
08-03-2023 04:41 AM