Skip to content

Commit

Permalink
Revert "Cybersouce: Update brand to be symbol"
Browse files Browse the repository at this point in the history
This reverts commit 2d1abfa.
  • Loading branch information
Alma Malambo committed Oct 23, 2024
1 parent 2d1abfa commit 3840b89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/active_merchant/billing/gateways/cyber_source.rb
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ def add_mastercard_network_tokenization_ucaf_data(xml, payment_method, options)

def default_wallet_values(xml, payment_method)
brand = card_brand(payment_method)
commerce_indicator = brand == 'discover' ? 'dipb' : ECI_BRAND_MAPPING[brand.to_sym]
commerce_indicator = brand == 'discover' ? 'dipb' : ECI_BRAND_MAPPING[brand]
cryptogram = brand == 'american_express' ? Base64.decode64(payment_method.payment_cryptogram) : payment_method.payment_cryptogram
cavv = xid = cryptogram

Expand Down

0 comments on commit 3840b89

Please sign in to comment.