add embedded checkout

This commit is contained in:
JCEEE
2026-08-20 07:35:31 +01:00
parent c6e987a852
commit 397543c880
45 changed files with 5731 additions and 334 deletions
+13 -1
View File
@@ -16,5 +16,17 @@ export const variables = defineEnvVars({
PB_PASSWORD: { public: false, schema: withDefault('debug123') },
// Server-only secret used to derive a child member's PB password from
// (famSlug + username). Never expose client-side. OTP is the access gate.
MEMBER_SECRET: { public: false, schema: withDefault('famchamp-member-secret') }
MEMBER_SECRET: { public: false, schema: withDefault('famchamp-member-secret') },
// Stripe (server-only). Keys left blank until a real account is connected.
STRIPE_SECRET_KEY: { public: false, schema: withDefault('') },
// Stripe webhook signing secret (prod/dashboard endpoint).
STRIPE_WEBHOOK_SECRET: { public: false, schema: withDefault('') },
// Stripe CLI webhook signing secret (local dev only — overrides the
// dashboard secret when set, so `stripe listen` works without touching prod).
STRIPE_CLI_WEBHOOK_SECRET: { public: false, schema: withDefault('') },
STRIPE_PRICE_TRIAL: { public: false, schema: withDefault('') },
STRIPE_PRICE_MONTHLY: { public: false, schema: withDefault('') },
STRIPE_PRICE_YEARLY: { public: false, schema: withDefault('') },
// Stripe publishable key (client-side for Checkout redirect).
PUBLIC_STRIPE_PUBLISHABLE_KEY: { public: true, schema: withDefault('') }
});