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

Add transactionResponse.responseCode checks #71

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mdubbs
Copy link

@mdubbs mdubbs commented Jun 4, 2019

These updates to the PaymentTransactions examples should help to alleviate some of the confusion as to what constitutes a successful transaction (not just API response) coming back from Authorize.Net when using the authorizenet gem.

The current examples don't show checking the actual response code to verify if the transaction was successful, rather they show only the check on whether the Authorize.Net API successfully processed the request (not if the transaction was successful, declined, held for AFDS, failed for some other reason).

@gnongsie gnongsie self-assigned this Jun 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants