Code comment
This commit is contained in:
parent
4449b5bc64
commit
bf13a8ead9
@ -254,6 +254,7 @@ if (empty($reshook)) {
|
||||
}
|
||||
}
|
||||
|
||||
// Add bank account
|
||||
if ($action == 'add') {
|
||||
$error = 0;
|
||||
|
||||
@ -346,6 +347,7 @@ if (empty($reshook)) {
|
||||
}
|
||||
}
|
||||
|
||||
// Add credit card
|
||||
if ($action == 'addcard') {
|
||||
$error = 0;
|
||||
|
||||
@ -1952,7 +1954,7 @@ if ($socid && $action == 'editcard' && $permissiontoaddupdatepaymentinformation)
|
||||
print '<tr><td>'.$langs->trans("CVN").'</td>';
|
||||
print '<td><input size="8" type="text" name="cvn" value="'.$companypaymentmode->cvn.'"></td></tr>';
|
||||
|
||||
print '<tr><td>'.$langs->trans("StripeID")." ('card_....')</td>";
|
||||
print '<tr><td>'.$langs->trans("StripeID")." ('pm_... ir card_....')</td>";
|
||||
print '<td><input class="minwidth300" type="text" name="stripe_card_ref" value="'.$companypaymentmode->stripe_card_ref.'"></td></tr>';
|
||||
|
||||
print '</table>';
|
||||
|
||||
@ -960,6 +960,7 @@ class Stripe extends CommonObject
|
||||
dol_syslog($this->error, LOG_WARNING);
|
||||
}
|
||||
} elseif ($createifnotlinkedtostripe) {
|
||||
// We will create the BAN on Stripe side
|
||||
$iban = $obj->iban_prefix; //prefix ?
|
||||
$ipaddress = getUserRemoteIP();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user