Restaurant template
Use this template to sell flexible dining gift value from a restaurant-branded storefront. The current Lifepeaks product is gift_card_value, and fulfillment is email delivery to the recipient.
bun run create:storefront -- \
--template restaurant \
--out ../my-restaurant-storefront
Customer journey
- Introduce the restaurant, atmosphere, and occasions a gift card suits.
- Offer suggested amounts within the live catalog minimum and maximum, while keeping a custom value option.
- Show the authoritative Lifepeaks quote before the buyer confirms.
- Collect sender and recipient names and email addresses on your backend-backed form.
- Redirect to Lifepeaks-hosted QuickPay.
- On return, show canonical order state and wait for fulfilled email delivery.
Useful amount labels include “Lunch for two”, “Dinner contribution”, and “Celebration gift”. They are customer-facing suggestions only; every purchase remains variable monetary value.
Integration boundary
This template does not claim to sell a fixed menu, table reservation, seating capacity, dated booking, takeaway order, or event ticket. It does not reserve a table. If you link to a reservation system, keep its booking reference and availability separate from the Lifepeaks order.
Do not encode a menu price or reservation entitlement into product_id. Read gift_card_value from the catalog, quote the chosen amount, and let Lifepeaks control the payable total and payment.
Launch checks
- Explain where the gift card may be redeemed and link the restaurant's own terms.
- Make recipient email confirmation clear before payment.
- Test a cancelled QuickPay session without presenting a gift card.
- Test the successful path until
fulfillment.statusisfulfilled. - Keep booking or POS integration claims out of the page unless Lifepeaks has approved a separate contract.
Review Headless checkout and the shared Starter templates production checklist before launch.