-
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
Adyen: add network_transaction_id to store call #4522
Conversation
@@ -993,6 +993,14 @@ def test_successful_tokenize_only_store | |||
assert_equal 'Success', response.message | |||
end | |||
|
|||
def test_successful_tokenize_only_store_with_ntid |
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'm not sure if there are additional assertions that would make sense to add here...from what I could tell, it doesn't seem like Adyen's response really changes with the addition of this field to the request 🤔
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.
This looks good, I wonder if you were to add the ntid to a different transaction type does it change those responses vs when it's not there? I don't know that that's relevant in terms of THIS test, but would maybe explain why it's not changing in the store response. Not asking you to go back and investigate that, just came to mind.
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.
Tests pass (except the three remote test failures that are also failing on master) and looks good!
@@ -993,6 +993,14 @@ def test_successful_tokenize_only_store | |||
assert_equal 'Success', response.message | |||
end | |||
|
|||
def test_successful_tokenize_only_store_with_ntid |
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.
This looks good, I wonder if you were to add the ntid to a different transaction type does it change those responses vs when it's not there? I don't know that that's relevant in terms of THIS test, but would maybe explain why it's not changing in the store response. Not asking you to go back and investigate that, just came to mind.
This makes it possible to pass the networkTxReference field with `store` CER-91 Unit: 95 tests, 482 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed Remote: 124 tests, 443 assertions, 3 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 97.5806% passed One failing test is related to something that might be an outdated assumption (Adyen doesn’t allow recurring transactions with Cabal). The other two are 3DS2-related. All are failing on master. Local: 5272 tests, 76166 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed
4caf3c5
to
7cbc1ee
Compare
This makes it possible to pass the
networkTxReference
field withstore
CER-91
Unit:
95 tests, 482 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed
Remote:
124 tests, 443 assertions, 3 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
97.5806% passed
One failing test is related to something that might be an outdated assumption (Adyen doesn’t allow recurring transactions with Cabal). The other two are 3DS2-related. All are failing on master.
Local:
5272 tests, 76166 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed