-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Realex: Implement credit #3280
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
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 |
ec9ea11
to
07fdd24
Compare
There was a problem hiding this 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 |
There was a problem hiding this comment.
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)
There was a problem hiding this comment.
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!
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
07fdd24
to
072e072
Compare
Implemented support for
credit
(also known asgeneral_credit
inSpreedly 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