Skip to content
Snippets Groups Projects
Commit 11b86bf2 authored by Michael Bopp's avatar Michael Bopp Committed by Jonathan Sacksick
Browse files

Issue #3189684: Credit Card Type mapping is incorrect for AMEX and Diners Club

parent 94d424c4
No related branches found
No related tags found
1 merge request!2Issue #3189684: Credit Card Type mapping is incorrect for AMEX and Diners Club
......@@ -468,8 +468,8 @@ class HostedPaymentForm extends OnsitePaymentGatewayBase {
*/
protected function mapCreditCardType($card_type) {
$map = [
'AmericanExpress' => 'amex',
'DinersClub' => 'dinersclub',
'American Express' => 'amex',
'Diners Club' => 'dinersclub',
'Discover' => 'discover',
'JCB' => 'jcb',
'Mastercard' => 'mastercard',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment