mirror of https://github.com/itflow-org/itflow
Stripe payments - Account selection
https://tasks.dev.itflow.org/task_details.php?task_id=22
This commit is contained in:
parent
d32e3a698f
commit
1e777afa50
|
|
@ -18,8 +18,7 @@ if (isset($_POST['edit_online_payment_settings'])) {
|
|||
// Logging
|
||||
logAction("Settings", "Edit", "$session_name edited online payment settings");
|
||||
|
||||
|
||||
if ($config_stripe_account == 0) {
|
||||
if ($config_stripe_enable && $config_stripe_account == 0) {
|
||||
$_SESSION['alert_type'] = "error";
|
||||
$_SESSION['alert_message'] = "Stripe payment account must be specified!";
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue