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

Realex: Implement credit #3280

Merged
merged 1 commit into from
Jul 29, 2019
Merged

Conversation

leila-alderman
Copy link
Contributor

Implemented support for credit (also known as general_credit in
Spreedly parlance) for the Realex gateway, including remote and unit
tests.

CE-52 / CE-58

Unit:
27 tests, 844 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions,
0 notifications
100% passed

Remote:
26 tests, 135 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions,
0 notifications
100% passed

@leila-alderman leila-alderman requested review from a team July 17, 2019 20:31
@leila-alderman leila-alderman requested a review from molbrown July 18, 2019 18:02
Copy link
Contributor

@molbrown molbrown left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@jasonxp
Copy link
Contributor

jasonxp commented Jul 25, 2019

Looks good. I added one note requesting a comment to help explain the refund/rebate/credit variable/parameter naming situation for posterity. Feel free to :shipit: after that.

@leila-alderman leila-alderman force-pushed the CE-52_realex_general_credit branch from ec9ea11 to 07fdd24 Compare July 29, 2019 14:56
@leila-alderman leila-alderman requested a review from molbrown July 29, 2019 14:57
Copy link
Contributor

@molbrown molbrown left a comment

Choose a reason for hiding this comment

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

I added 2 comments for small changes, otherwise looks good!

CHANGELOG Outdated
@@ -46,6 +46,7 @@
* Add Kosovo to the list of countries [AnotherJoSmith] #3226
* Realex: Adds 3DS 1&2 support through external MPI [filipebarcos] #3284
* PayPal: Adds 3DS 1 support through external MPI [nebdil] #3279
* Realex: Re-implement credit as general credit [leila-alderman] #3280
Copy link
Contributor

Choose a reason for hiding this comment

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

Move your changelog entry up to HEAD, since this was not included in the July 26 version. (Easy to miss)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for catching that! So grateful for your re-review!

test/remote/gateways/remote_realex_test.rb Outdated Show resolved Hide resolved
Re-implemented the `credit` action (known as `general_credit` in
Spreedly parlance) for the Realex gateway from its deprecated
implementation of re-using the `refund` action to performing an actual
`credit` (non-reference credit) transaction.

CE-52 / CE-58

Unit:
28 tests, 975 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions,
0 notifications
100% passed

Remote:
27 tests, 138 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions,
0 notifications
100% passed
@leila-alderman leila-alderman force-pushed the CE-52_realex_general_credit branch from 07fdd24 to 072e072 Compare July 29, 2019 17:10
@leila-alderman leila-alderman merged commit 072e072 into master Jul 29, 2019
@leila-alderman leila-alderman deleted the CE-52_realex_general_credit branch July 29, 2019 17:13
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