๐ Quick Start - Get Payments Working NOW!
โก 3-Step Setup (5 minutes)
Step 1: Install Dependencies
Step 2: Start the Server
You should see:
๐ Payment server running on http://localhost:3000
๐ Admin panel: http://localhost:3000/payments.html
Step 3: Test It!
- Open: http://localhost:3000/api/health
- Should show:
"status": "ok"
- Open: http://localhost:3000/payments.html
- Login as admin
- Fill out payment form
- Click โProcess Paymentโ
โ
Thatโs It!
Your payment system is now running locally and ready to accept payments!
๐ Deploy to Production
See the full guide: docs/PAYMENT-SETUP-GUIDE.md
Quick deploy options:
- Heroku: Free tier available
- Vercel: Instant deployment
- Railway: Easy setup
๐ Having Issues?
Backend wonโt start?
cd backend
npm install express cors dotenv
npm start
Canโt access payments.html?
- Make sure youโre logged in as admin
- Go to: http://localhost:3000/login.html?admin=true
- Login with your admin account
Payment fails?
- Check backend is running
- Check browser console for errors
- Verify Square credentials in
backend/simple-payment-server.js
๐ Full Documentation
- Complete Setup Guide:
docs/PAYMENT-SETUP-GUIDE.md
- Deployment Guide:
docs/DEPLOYMENT-CHECKLIST.md
- Square Docs: https://developer.squareup.com
Need Help? Check the troubleshooting section in docs/PAYMENT-SETUP-GUIDE.md