active_merchant icon indicating copy to clipboard operation
active_merchant copied to clipboard

CyberSource: include `networkTokenCryptogram` in `ccAuthService` for MC

Open bbraschi opened this issue 2 years ago • 1 comments

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

bbraschi avatar Jul 19 '23 18:07 bbraschi

Marking this "of interest" before a cleanup of stale PRs

curiousepic avatar Oct 25 '23 17:10 curiousepic