Build a checkout form with Orders and Elements to automatically calculate sales tax, VAT, and GST and complete a payment using various payment methods. Included are some basic build and run scripts you can use to start up the application.
- Build the application
npm install
npx playwright install
- Add .env
Copy .env.local.example
to .env.local
and add your stripe testing key.
- Run the application
npm run dev
- Go to http://localhost:3000
Shut down any active servers, then run:
npm run test