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

Shift4: Code Refactoring #4469

Merged
merged 1 commit into from
Jun 23, 2022
Merged

Conversation

ajawadmirza
Copy link
Contributor

@ajawadmirza ajawadmirza commented Jun 23, 2022

Refactored gateway as per the technical document, updated remote tests to remove redundancy, refactored gateway file to remove unwanted fields.

SER

Remote:
11 tests, 29 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

Rubocop:
746 files inspected, no offenses detected

Unit:
5229 tests, 75978 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

@ajawadmirza ajawadmirza force-pushed the refactor_shift4 branch 2 times, most recently from 7064ead to 18918d1 Compare June 23, 2022 11:07
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.

Mostly curious about the name change and whether the self.display_name should match the company name.

Everything looks good to me.

lib/active_merchant/billing/gateways/shift_four.rb Outdated Show resolved Hide resolved
lib/active_merchant/billing/gateways/shift_four.rb Outdated Show resolved Hide resolved
CHANGELOG Outdated Show resolved Hide resolved
Refactored gateway identifier as per the technical document, updated remote tests to remove redundancy, refactored gateway file to remove unwanted fields.

SER

Remote:
11 tests, 29 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

Rubocop:
746 files inspected, no offenses detected

Unit:
5229 tests, 75978 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed
@naashton naashton merged commit cd9e989 into activemerchant:master Jun 23, 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