fix lang for other payment mode available

This commit is contained in:
ptibogxiv 2020-01-28 17:33:50 +01:00 committed by GitHub
parent f5ce0fc811
commit 5783f9b7c2
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)) {