Customer info.
These fields become part of the checkout payload sent to the payment backend.
Physical and Digital items flow into one checkout payload. This page is structured for payment integration now: customer details, cart data, totals, and a clean endpoint call.
Same LARP Shop flow, but prepared for real checkout integration instead of a dead-end static form.
These fields become part of the checkout payload sent to the payment backend.
The main button is wired for an endpoint. When the backend is ready, this page sends the checkout payload and redirects to the returned checkout URL.
/api/create-checkout-session. Your backend should accept item IDs and quantities, validate prices server-side, create the Stripe/PayPal session, then return { "checkoutUrl": "..." }.
Set the real endpoint inside site-config.js when the backend route is live.
Frontend is now structured for checkout. Backend creates the payment session.