Content-Length: 289655 | pFad | https://github.com/activemerchant/active_merchant/pull/4518

27 CheckoutV2: Update logic to send payment id via options by ajawadmirza · Pull Request #4518 · activemerchant/active_merchant · GitHub
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

CheckoutV2: Update logic to send payment id via options #4518

Merged
merged 2 commits into from
Aug 10, 2022

Conversation

ajawadmirza
Copy link
Contributor

Updated checkoutv2 to take payment id from options parameters instead of getting it as a payment method.

SER-201

Remote:
72 tests, 186 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

Unit:
5269 tests, 76156 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

Rubocop:
746 files inspected, no offenses detected

@ajawadmirza ajawadmirza force-pushed the SER-201_change_field branch from 2586e58 to b7590d6 Compare July 29, 2022 07:02
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.

@ajawadmirza Thank you for making this change! I think we can still make it easier for the customer by consolidating the behavior into a single field, instead of two.

lib/active_merchant/billing/gateways/checkout_v2.rb Outdated Show resolved Hide resolved
@ajawadmirza ajawadmirza force-pushed the SER-201_change_field branch 3 times, most recently from 92686ee to 19a8a8f Compare August 9, 2022 05:15
@ajawadmirza ajawadmirza requested a review from dsmcclain August 9, 2022 05:15
@ajawadmirza ajawadmirza force-pushed the SER-201_change_field branch from 19a8a8f to 7514d5c Compare August 10, 2022 06:47
Updated checkoutv2 to take payment id from options parameters instead of getting it as a payment method.

SER-201

Remote:
72 tests, 186 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

Unit:
5269 tests, 76156 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

Rubocop:
746 files inspected, no offenses detected
@ajawadmirza ajawadmirza force-pushed the SER-201_change_field branch from 7514d5c to c30cba4 Compare August 10, 2022 06:49
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.

LGTM!

@naashton naashton merged commit 0609262 into activemerchant:master Aug 10, 2022
priorityspreedly pushed a commit to priorityspreedly/active_merchant that referenced this pull request Aug 12, 2022
…nt#4518)

Updated checkoutv2 to take payment id from options parameters instead of getting it as a payment method.

SER-201

Remote:
72 tests, 186 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

Unit:
5269 tests, 76156 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

Rubocop:
746 files inspected, no offenses detected

Co-authored-by: Nick Ashton <nashton@gmail.com>
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.

3 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/activemerchant/active_merchant/pull/4518

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy