The checkout button has been fixed! It now uses the built-in checkout modal instead of requiring Stripe API keys immediately.
To enable full Stripe checkout functionality, you need to set up the following environment variables in your .env.local file:
- Go to Stripe Dashboard
- Create an account or sign in
- Go to Developers → API keys
- Copy your publishable key and secret key
- Update
.env.local:
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_your_actual_publishable_key
STRIPE_SECRET_KEY=sk_test_your_actual_secret_keyFor email notifications to work:
- Go to EmailJS
- Create an account
- Set up a Gmail service
- Create an email template
- Get your Service ID, Template ID, and User ID
- Update
.env.local:
NEXT_PUBLIC_EMAILJS_SERVICE_ID=your_service_id
NEXT_PUBLIC_EMAILJS_TEMPLATE_ID=your_template_id
NEXT_PUBLIC_EMAILJS_USER_ID=your_user_id- ✅ Checkout button works (uses built-in modal)
- ✅ Cart functionality works
- ✅ Product display works
⚠️ Stripe checkout requires API keys⚠️ Email notifications require EmailJS setup
- For Testing: The current setup works fine for testing the UI
- For Production: Set up Stripe and EmailJS environment variables
- For Real Payments: Replace test keys with live keys
npm run dev # Start development server
npm run build # Build for production
npm run start # Start production serverThe website should now be running at http://localhost:3000