Complete these steps before enabling live payments
👤 Required Access: Stripe Dashboard, Google Account, Admin credentials
🎯 Outcome: Verified payment system ready for public launch
Duration: ~15 minutes
Prerequisites:
- ✓ At least one active facility with published memberships
- ✓ Facility owner has connected Stripe account
- ✓ Test payment method ready (use Stripe test card: 4242 4242 4242 4242)
Steps:
- 1
Create test booking as client
Navigate to facility detail → Select date/time → Click "Book Now"
- 2
Complete payment
Use test card 4242 4242 4242 4242, any future expiry, any CVC
- 3
Verify booking appears
Check: Owner Dashboard → Manage Bookings → Should see new booking
- 4
Check Stripe Dashboard
Login to Stripe → Payments → Verify PaymentIntent succeeded
Open Stripe Dashboard - 5
Verify webhook delivery
Stripe → Developers → Webhooks → Check "payment_intent.succeeded" received
- • Booking shows "Paid Booking" badge (blue)
- • Amount displays correctly (e.g., £50.00)
- • Payment status = "paid"
- • Stripe shows successful charge
- • Webhook event status = "processed"
Duration: ~10 minutes
Steps:
- 1
Create active subscription membership
Client must have active membership with available hours
- 2
Book session using membership
Should see "Covered by membership" message during booking
- 3
Verify no payment required
Should skip payment screen entirely
- 4
Check booking details
Owner Dashboard → Booking should show "Covered by Subscription" badge (purple)
- 5
Verify Stripe - NO PaymentIntent
Stripe Dashboard should show NO new payment for this booking
- • Badge shows "Covered by Subscription" (purple)
- • Amount shows £0.00 (subscription)
- • No payment screen appeared
- • No PaymentIntent in Stripe
- • Hours deducted from weekly allowance
Duration: ~5 minutes
Steps:
- 1
Navigate to paid booking
Owner Dashboard → Manage Bookings → Click "Details" on a paid booking
- 2
Scroll to refund section
Should see "Refund & Cancellation" card with refund controls
- 3
Issue full refund
Click "Full Refund" → Select reason → Confirm
- 4
Verify immediate UI update
Payment status should change to "refunded"
- 5
Check Stripe Dashboard
Refund should appear under original payment
- • Refund processed without errors
- • Payment status = "refunded"
- • Refund appears in Stripe Dashboard
- • Refund amount = original payment (or 90% if admin fee applies)
- • Client will receive funds in 5-10 business days
Duration: ~5 minutes
Steps:
- 1
Navigate to another paid booking
Use different booking from full refund test
- 2
Issue partial refund
Enter custom amount (e.g., £25 on £50 booking) → Select reason → Confirm
- 3
Verify UI shows partial status
Payment status = "partially_refunded"
- 4
Check remaining balance
Should show: Paid £50.00 → Refunded £25.00 → Balance £25.00
- • Payment status = "partially_refunded"
- • Refund history shows partial amount
- • Remaining balance calculated correctly
- • Stripe shows partial refund
Duration: ~20 minutes
Steps:
- 1
Create Looker Studio report
Visit lookerstudio.google.com → Click "Create" → "Report"
Open Looker Studio - 2
Connect GA4 data source
Add data source → Google Analytics 4 → Select property: G-EV3HMG78KS
- 3
Add basic charts
Recommended: Sessions (last 7 days), Active Users, Traffic Sources (table), Top Pages (table)
- 4
Enable embedding
File → Share → Embed report → Copy URL
- 5
Update AdminAnalytics page
Edit pages/AdminAnalytics.js line 48: Replace LOOKER_STUDIO_EMBED_URL with your URL
const LOOKER_STUDIO_EMBED_URL = "https://lookerstudio.google.com/embed/...";
- • Dashboard loads in AdminAnalytics page
- • Only visible to admin users
- • Shows live GA4 data
Duration: ~1 minute
Steps:
- 1
Navigate to Launch Control
Admin Dashboard → Launch Control
- 2
Enable payment flag
Find "booking_payments_enabled" → Toggle to TRUE
- 3
Verify change
Refresh app → Booking pages should now show "Book Now" instead of "Notify Me"
Take screenshots to document successful testing