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

IPG: support merchant aggregator credentials. #4986

Merged
merged 3 commits into from
Dec 14, 2023

Conversation

DustinHaefele
Copy link
Contributor

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

@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')
Copy link
Contributor Author

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
Copy link
Contributor Author

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.

Copy link
Contributor

@aenand aenand left a 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 :shipit:

@aenand
Copy link
Contributor

aenand commented Dec 13, 2023

@DustinHaefele can you also remove the scrubbing of store_id? this is not a sensitive bit of information

@DustinHaefele
Copy link
Contributor Author

@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
@DustinHaefele DustinHaefele merged commit 460e0b9 into master Dec 14, 2023
5 checks passed
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