Recommended: use CLI setup withnpx solvapay init.
This page covers the manual setup path.
Prerequisites
- Node.js version 18.17 or higher
- npm, yarn, or pnpm
- TypeScript 5.0+ (recommended)
Install packages by use case
Server-side protection
React checkout components
Next.js integration
Auth adapters
Supabase adapter for React
Core types only
Environment variables
Required for production:Stub mode
IfSOLVAPAY_SECRET_KEY is not set, SDK calls run in stub mode for local testing.