36716-vm/refund.php
2025-12-07 05:00:42 +00:00

26 lines
580 B
PHP

<?php
require_once 'includes/header.php';
require_once 'stripe/init.php';
if (!isset($_SESSION['user_id']) || $_SESSION['user_type'] !== 'coach') {
header('Location: login.php');
exit;
}
if (isset($_GET['booking_id'])) {
$booking_id = $_GET['booking_id'];
// TODO: Add refund logic here
}
?>
<div class="container">
<div class="row">
<div class="col-md-12">
<h1>Refund Booking</h1>
<p>This page will be used to process refunds for a booking.</p>
</div>
</div>
</div>
<?php require_once 'includes/footer.php'; ?>