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

DecidirPlus: Handle payment_method_id by card_brand #4350

Conversation

naashton
Copy link
Contributor

@naashton naashton commented Mar 3, 2022

Determine payment_method_id based on card_brand passed in the
options hash for auth and purchase transactions

CE-2424

Unit: 13 tests, 53 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

Remote0: 17 tests, 58 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

@naashton naashton requested a review from a team March 3, 2022 22:08
Copy link
Contributor

@dsmcclain dsmcclain left a comment

Choose a reason for hiding this comment

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

All tests are passing.

The logic in this case statement is straightforward enough. I have no idea how this payment_method_id connects to the underlying issue with bin described in the ticket, but I trust that you have done your research and that this solves the problem.

Made a few nitpicky comments about testing, take them or leave them. Approving but happy to re-review if you want to make adjustments.

Don't forget the ChAnGeLoG! 😄

@naashton naashton force-pushed the CE-2424-decidir_plus_payment_method_ids branch 2 times, most recently from 82be822 to 50282cb Compare March 4, 2022 14:21
Determine `payment_method_id` based on `card_brand` passed in the
options hash for auth and purchase transactions

CE-2424

Unit: 13 tests, 53 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

Remote0: 17 tests, 58 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed
@naashton naashton force-pushed the CE-2424-decidir_plus_payment_method_ids branch from 50282cb to b9547e6 Compare March 4, 2022 14:23
@naashton naashton merged commit b9547e6 into activemerchant:master Mar 4, 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