Update charge.php

This commit is contained in:
ptibogxiv 2019-08-03 21:19:47 +02:00 committed by GitHub
parent 07cc21a113
commit 4633af3f5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,11 +135,10 @@ if (!$rowid)
if ($charge->payment_method_details->type=='card') if ($charge->payment_method_details->type=='card')
{ {
$type = $langs->trans("card"); $type = $langs->trans("card");
} } elseif ($charge->source->type=='card'){
elseif ($charge->source->type=='card'){ $type = $langs->trans("card");
$type = $langs->trans("card");
} elseif ($charge->payment_method_details->type=='three_d_secure'){ } elseif ($charge->payment_method_details->type=='three_d_secure'){
$type = $langs->trans("card3DS"); $type = $langs->trans("card3DS");
} }
if (! empty($charge->payment_intent)) { if (! empty($charge->payment_intent)) {