- Issue created by @Manar Olimat
- 🇯🇴Jordan Manar Olimat
This patch checks if the payment method is ' master' then change it to 'mastercard'
Title: InvalidArgumentException: Invalid credit card type "master_card" when performing checkout with MasterCard
Ensure that when a user pays with a MasterCard, the card type is correctly set as "mastercard" instead of "master" as drupal commerce expects it that way.
Active
2.0
Code
This patch checks if the payment method is ' master' then change it to 'mastercard'