mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Stripe payments - Account selection
https://tasks.dev.itflow.org/task_details.php?task_id=22
This commit is contained in:
@@ -18,7 +18,13 @@ if (isset($_POST['edit_online_payment_settings'])) {
|
||||
// Logging
|
||||
logAction("Settings", "Edit", "$session_name edited online payment settings");
|
||||
|
||||
$_SESSION['alert_message'] = "Online Payment Settings updated";
|
||||
|
||||
if ($config_stripe_account == 0) {
|
||||
$_SESSION['alert_type'] = "error";
|
||||
$_SESSION['alert_message'] = "Stripe payment account must be specified!";
|
||||
} else {
|
||||
$_SESSION['alert_message'] = "Online Payment Settings updated";
|
||||
}
|
||||
|
||||
header("Location: " . $_SERVER["HTTP_REFERER"]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user