-
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
IPG: support merchant aggregator credentials. #4986
Conversation
2a22987
to
0e4cce9
Compare
@amount = 100 | ||
@credit_card = credit_card('5165850000000008', brand: 'mastercard', verification_value: '987', month: '12', year: '2029') | ||
@credit_card = credit_card('5165850000000008', brand: 'mastercard', month: '12', year: '2029') |
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.
removed the verification_value because their api kept responding "CVV checks not supported on this card"
@@ -101,10 +101,10 @@ def test_failed_purchase | |||
end | |||
|
|||
def test_failed_purchase_with_passed_in_store_id | |||
# passing in a bad store id results in a 401 unauthorized error |
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.
Updated this because they do fail the transaction when the store_id doesn't match but it doesn't respond with a 401.
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.
Works for me locally. Nice work
@DustinHaefele can you also remove the scrubbing of store_id? this is not a sensitive bit of information |
@aenand done! |
unit tests: 31 tests, 133 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed remote tests: 19 tests, 57 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed spreedly ticket: ECS-3297
5ca80b3
to
75f4316
Compare
unit tests:
31 tests, 133 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed
remote tests:
19 tests, 57 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed
spreedly ticket: ECS-3297