Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authorize.NET fails for certain successful transactions #258

Open
Joebeazelman opened this Issue Mar 9, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@Joebeazelman
Copy link

Joebeazelman commented Mar 9, 2019

I have encountered an issue where failed transactions report successful or "(I00001:Successful.)" .

This code in the GetApiResponse function looks for a response != null. A successful response, however, can also be null as discussed here:

#142

Has this issue been resolved yet or has there been sample code to work around this issue. It's unclear from the forum discussion if there has been any resolution.

@gnongsie

This comment has been minimized.

Copy link
Contributor

gnongsie commented Mar 14, 2019

Hi @Joebeazelman,
Apologies for the inconvenience.

In order to better help you, I would like to understand which request you are trying to send, as well as the exact response that you are getting.

With regards to #142, a successful response will always return an API response, which can be accessed by the GetApiResponse() of the corresponding controller.

In the event that an API response is null, it means that an error occurred. In this scenario, Authorize.Net will send you an error response, which can be accessed by the GetErrorResponse() of the same controller.

To better understand this, please take a look at the Create Customer Payment Profile API sample code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.