Clean code
This commit is contained in:
parent
f58e2bc664
commit
a380315056
@ -517,7 +517,7 @@ if (empty($reshook)) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($action == 'syncsepatostripe') {
|
if ($action == 'syncsepatostripe') {
|
||||||
$companybankaccount->fetch(GETPOST('bankid'));
|
$companybankaccount->fetch(GETPOST('bankid', 'int'));
|
||||||
// print "stripe account = " . json_encode($stripe->getStripeAccount($service));
|
// print "stripe account = " . json_encode($stripe->getStripeAccount($service));
|
||||||
// print json_encode($companybankaccount);
|
// print json_encode($companybankaccount);
|
||||||
// print "fetch id = " . json_encode($socid);
|
// print "fetch id = " . json_encode($socid);
|
||||||
@ -545,7 +545,7 @@ if (empty($reshook)) {
|
|||||||
$error++;
|
$error++;
|
||||||
setEventMessages($stripe->error, $stripe->errors, 'errors');
|
setEventMessages($stripe->error, $stripe->errors, 'errors');
|
||||||
} else {
|
} else {
|
||||||
setEventMessages("", array("SEPA on Stripe", "SEPA IBAN is now linked to customer account !"));
|
setEventMessages("", array("SEPA on Stripe", "SEPA IBAN is now linked to the Stripe customer account !"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user