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

Reach: Fixing bug when using union pay card #4645

Merged
merged 1 commit into from
Dec 12, 2022

Conversation

Heavyblade
Copy link
Collaborator

Summary:

This change aims to fix an bug related with the way to handle not supported card brands.

Tests:

Finished in 130.664153 seconds.
25 tests, 66 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed

Finished in 35.408869 seconds.
5415 tests, 76945 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed

152.93 tests/s, 2173.04 assertions/s
Inspecting 756 files
756 files inspected, no offenses detected

This change aims to fix an bug related with the way to handle not
supported card brands.

Finished in 130.664153 seconds.
25 tests, 66 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

Finished in 35.408869 seconds.
5415 tests, 76945 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

152.93 tests/s, 2173.04 assertions/s
Inspecting 756 files
756 files inspected, no offenses detected
Copy link
Contributor

@naashton naashton left a comment

Choose a reason for hiding this comment

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

This change looks good, but are we confident this resolves the issue with the gateway rejecting the payment method? It seems the error was saying additional information was needed to make Union Pay transactions work. Namely that ContractId.

@Heavyblade
Copy link
Collaborator Author

@naashton indeed this PR solves that issue, the problem was that Union pay was not mapped and the PaymentMethod param end-up being empty, so I added union pay as an options and an Argument Error in case that something like alelo,sodexo,etc. gets there.

Copy link
Contributor

@naashton naashton left a comment

Choose a reason for hiding this comment

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

Awesome! Thanks for the clarification.

@Heavyblade Heavyblade merged commit 517febb into master Dec 12, 2022
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