active_merchant
active_merchant copied to clipboard
CyberSource: include `networkTokenCryptogram` in `ccAuthService` for MC
Cybersource requires that the network token cryptogram is provided under the ccAuthService element. This PR adds it. Note this is redundant with authenticationData under the ucaf element.
See Cybersource's Authorizations with Payment Network Tokens and CyberSourceTransaction_1.211.xsd, as per Cybersource's Using XML documentation.
Unit tests
bundle exec rake test:units TEST=test/unit/gateways/cyber_source_test.rb
132 tests, 628 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed
Remote tests
Same outcome on master and on the PR's branch
bundle exec rake test:remote TEST=test/remote/gateways/remote_cyber_source_test.rb
121 tests, 506 assertions, 36 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
70.2479% passed
Marking this "of interest" before a cleanup of stale PRs