mirror of
https://github.com/itflow-org/itflow
synced 2026-11-11 07:01:16 +00:00
Replace Guest footer with global footer as gust footer no longer exists
This commit is contained in:
@@ -34,7 +34,7 @@ if (isset($_GET['invoice_id'], $_GET['url_key']) && !isset($_GET['payment_intent
|
||||
// Ensure valid invoice
|
||||
if (!$sql || mysqli_num_rows($sql) !== 1) {
|
||||
echo "<br><h2>Oops, something went wrong! Please ensure you have the correct URL and have not already paid this invoice.</h2>";
|
||||
require_once 'includes/guest_footer.php';
|
||||
require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/footer.php';
|
||||
error_log("Stripe payment error - Invoice with ID $invoice_id not found or not eligible.");
|
||||
exit();
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ if (isset($_GET['invoice_id'], $_GET['url_key'])) {
|
||||
// Ensure valid invoice
|
||||
if (!$sql || mysqli_num_rows($sql) !== 1) {
|
||||
echo "<br><h2>Oops, something went wrong! Please ensure you have the correct URL and have not already paid this invoice.</h2>";
|
||||
require_once 'includes/guest_footer.php';
|
||||
require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/footer.php';
|
||||
error_log("Stripe payment error - Invoice with ID $invoice_id not found or not eligible.");
|
||||
exit();
|
||||
}
|
||||
|
||||
@@ -848,7 +848,6 @@ if (isset($_POST['create_stripe_customer'])) {
|
||||
// Ensure valid invoice
|
||||
if (!$sql || mysqli_num_rows($sql) !== 1) {
|
||||
echo "<br><h2>Oops, something went wrong! Please ensure you have the correct URL and have not already paid this invoice.</h2>";
|
||||
require_once 'includes/guest_footer.php';
|
||||
error_log("Stripe payment error - Invoice with ID $invoice_id not found or not eligible.");
|
||||
exit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user