Magento 2 Cybersource - MasterCard throws Transaction Declined error
-
14-04-2021 - |
Question
We are using Magento Commerce 2.3.5 with the Cybersource payment method. VISA, American Express, Discover cards are working fine. But the Mastercard throws "Transaction Declined. Please try again" error on Checkout. While checking the payment response, it has a field called "invalid-field": "card_type". But the card_type value has sent as'002'. Not sure why it's not working only for MasterCard.
Solution
Was a Configuration Issue
The issue was we didnt select the Currency(USD) for the Master Card in Cybersource dashboard. Adding the Currency fixed the issue.
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange