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

Complete Payment

Payment was cancelled. Please try again.
Order #

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

or enter card details below

Your payment is secure and encrypted