shop stipe

This commit is contained in:
gpatruno
2026-07-26 18:43:51 +02:00
parent 810e4ac922
commit 9e9dfe310f
16 changed files with 461 additions and 136 deletions
+6 -4
View File
@@ -24,10 +24,12 @@ STARTING_OSU=25
# Payments (osu top-ups)
# mock = instant confirm for local/dev (default)
# stripe = requires STRIPE_SECRET_KEY (+ webhook wiring)
PAYMENTS_PROVIDER=mock
# STRIPE_SECRET_KEY=sk_live_...
# STRIPE_WEBHOOK_SECRET=whsec_...
# stripe = Stripe Checkout + webhook (requires keys below)
PAYMENTS_PROVIDER=stripe
STRIPE_SECRET_KEY=sk_test_...
STRIPE_PUBLISHABLE_KEY=pk_test_...
# From Stripe CLI (`stripe listen`) or Dashboard → Webhooks → Signing secret
STRIPE_WEBHOOK_SECRET=whsec_...
# Jackpot
JACKPOT_ROUND_SECONDS=30