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

Decidir: Add Naranja Card #3307

Merged

Conversation

hdeters
Copy link
Contributor

@hdeters hdeters commented Aug 21, 2019

EVS-181

Adds Naranha card to Decidir gateway
Updated two tests to correspond to changed Decidir responses

Unit:
22 tests, 112 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions,
0 notifications
100% passed

Remote:
17 tests, 60 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions,
0 notifications
100% passed

@hdeters hdeters self-assigned this Aug 21, 2019
@@ -99,7 +99,8 @@ def scrub(transcript)
transcript.
gsub(%r((apikey: )\w+)i, '\1[FILTERED]').
gsub(%r((\"card_number\\\":\\\")\d+), '\1[FILTERED]').
gsub(%r((\"security_code\\\":\\\")\d+), '\1[FILTERED]')
gsub(%r((\"security_code\\\":\\\")\d+), '\1[FILTERED]').
gsub(%r((\"emv_issuer_data\\\":\\\")\d+), '\1[FILTERED]')

Choose a reason for hiding this comment

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

Is the emv_issuer_data something new that comes through in the response?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure. I think so -- it seems to just be the security code repeated which causes the existing scrub test to fail. However, I didn't see anything about it in the docs when I looked. So not exactly sure what the reasoning behind it is.

Copy link
Contributor

@deedeelavinder deedeelavinder left a comment

Choose a reason for hiding this comment

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

👍

EVS-181

Adds Naranha card to Decidir gateway
Updated two tests to correspond to changed Decidir responses

Unit:
22 tests, 112 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions,
0 notifications
100% passed

Remote:
17 tests, 60 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions,
0 notifications
100% passed
@hdeters hdeters force-pushed the EVS-181_add_naranja_to_decidir branch from 47eeb8e to b80e7d9 Compare August 30, 2019 13:44
@hdeters hdeters merged commit b80e7d9 into activemerchant:master Aug 30, 2019
@hdeters hdeters deleted the EVS-181_add_naranja_to_decidir branch August 30, 2019 13:57
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