Stripe - Client pays removal

- Complete removal of client paying Stripe fees feature
- Add PHP error logging to the Stripe payment process
This commit is contained in:
wrongecho
2024-09-10 20:26:16 +01:00
parent 760f07e665
commit 549868e3bf
10 changed files with 114 additions and 188 deletions

View File

@@ -2159,10 +2159,16 @@ if (LATEST_DATABASE_VERSION > CURRENT_DATABASE_VERSION) {
mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '1.4.8'");
}
// if (CURRENT_DATABASE_VERSION == '1.4.8') {
// // Insert queries here required to update to DB version 1.4.9
if (CURRENT_DATABASE_VERSION == '1.4.8') {
mysqli_query($mysqli, "ALTER TABLE `settings` DROP `config_stripe_client_pays_fees`");
mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '1.4.9'");
}
// if (CURRENT_DATABASE_VERSION == '1.4.9') {
// // Insert queries here required to update to DB version 1.5.0
// // Then, update the database to the next sequential version
// mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '1.4.9'");
// mysqli_query($mysqli, "UPDATE `settings` SET `config_current_database_version` = '1.5.0'");
// }
} else {