Merge pull request #12947 from ptibogxiv/patch-296

fix lang for other payment mode available
This commit is contained in:
Laurent Destailleur 2020-01-28 20:39:59 +01:00 committed by GitHub
commit e38069e41b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -139,6 +139,10 @@ if (!$rowid)
$type = $langs->trans("card");
} elseif ($charge->payment_method_details->type=='three_d_secure'){
$type = $langs->trans("card3DS");
} elseif ($charge->payment_method_details->type=='sepa_debit'){
$type = $langs->trans("sepadebit");
} elseif ($charge->payment_method_details->type=='ideal'){
$type = $langs->trans("iDEAL");
}
if (! empty($charge->payment_intent)) {