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

Declined card throws exception in OrdersCaptureAsync() #14

Open
ianw1223 opened this issue Nov 29, 2024 · 0 comments
Open

Declined card throws exception in OrdersCaptureAsync() #14

ianw1223 opened this issue Nov 29, 2024 · 0 comments

Comments

@ianw1223
Copy link

When testing the declined card scenario by using CCREJECT-REFUSED in the payer name field, OrdersCaptureAsync() throws an exception.

Surely a refused card is an expected scenario, not an exception. OrdersCaptureAsync should return an informative result that we can handle as a normal part of our workflow, rather than having details buried within the exception.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant