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

Ebanx: Add support for Stored Credentials #5223

Merged
merged 1 commit into from
Aug 28, 2024
Merged

Conversation

almalee24
Copy link

No description provided.

Copy link
Contributor

@DustinHaefele DustinHaefele left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question, but the code looks great, and the test coverage is excellent.

@@ -50,6 +50,7 @@ def purchase(money, payment, options = {})
add_address(post, options)
add_customer_responsible_person(post, payment, options)
add_additional_data(post, options)
add_stored_credentials(post, options)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is possibly just me still learning stored credentials, but should this be added to authorize or captures as well? Or does this only work on a full purchase? Particularly for initial transactions.

Copy link
Author

@almalee24 almalee24 Aug 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I forgot to add it in authorize but let be double check if we need it for capture

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added it to Authorize since this is only for ws/direct API which is just Purchase & Authorize

Remote
39 tests, 95 assertions, 2 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
94.8718% passed
@almalee24 almalee24 merged commit b789edf into master Aug 28, 2024
5 checks passed
@almalee24 almalee24 deleted the ebanx_stored_creds branch August 28, 2024 17:03
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

Successfully merging this pull request may close these issues.

2 participants