fetch( "SELECT * FROM orders WHERE order_id = :id", ['id' => $orderId] ); if (!$order) { redirect('/cart.php'); } // If already paid, redirect to confirmation if ($order['payment_status'] === 'paid') { clearCart(); redirect('/order-confirmation.php?order=' . $orderId); } $stripePublishableKey = STRIPE_PUBLISHABLE_KEY; $stripeConfigured = isStripeConfigured(); $total = $order['total']; require_once __DIR__ . '/includes/header.php'; ?>

Complete Payment

Payment was cancelled. Please try again.
Order #

Demo Mode: Stripe is not configured. Click below to simulate a successful payment.

or enter card details below

Your payment is secure and encrypted