feat: integrate Stripe payment module with API + UI components

This commit is contained in:
2026-06-09 21:10:57 +05:30
parent 944a745892
commit 5eb06b2809
25 changed files with 1434 additions and 1 deletions
+7
View File
@@ -3,3 +3,10 @@ VITE_GROQ_API_KEY=Your-API-Key
# Weather Widget (OpenWeatherMap)
VITE_OPENWEATHER_API_KEY=Your-API-Key
# --- Payments Module (Stripe Hosted Checkout) ---
# Frontend (safe to expose). Until set, the Payments page shows a "configure" notice.
VITE_STRIPE_PUBLISHABLE_KEY=pk_test_REPLACE_WITH_YOUR_PUBLISHABLE_KEY
# Backend only (Vercel env / .env for `vercel dev`) — NEVER expose these to the client.
STRIPE_SECRET_KEY=sk_test_REPLACE_WITH_YOUR_SECRET_KEY
STRIPE_WEBHOOK_SECRET=whsec_REPLACE_WITH_YOUR_WEBHOOK_SECRET