Replace Guest footer with global footer as gust footer no longer exists

This commit is contained in:
johnnyq
2026-10-08 16:56:20 -04:00
parent 49106e2a80
commit 08ab655b2d
3 changed files with 2 additions and 3 deletions

View File

@@ -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();
}

View File

@@ -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();
}

View File

@@ -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();
}