Sandbox
Try it live
Section titled “Try it live”Test all five payment providers directly in the browser. This sandbox uses test keys so no real charges are made.
Pick a provider, enter any email, set an amount, and click pay to see the checkout flow.
Example apps
Section titled “Example apps”Clone a working example for your platform and start building.
Vanilla JavaScriptPlain HTML + JS with all providers and scenarios.
ReactReact app with SanwoReactProvider and useSanwoCheckout.
Next.jsNext.js app with server and client component patterns.
VueVue 3 app using createSanwo with Composition API.
Mobile
Section titled “Mobile”React NativeReact Native app with SanwoProvider and useSanwoCheckout.
FlutterFlutter app with Sanwo callable class and CheckoutOptions.
Native
Section titled “Native”iOS / SwiftSwiftUI app with .sanwoCheckout view modifier.
Android / KotlinKotlin Activity with registerForCheckoutResult pattern.
Run locally
Section titled “Run locally”git clone https://github.com/Sanwohq/examples.gitcd examples/vanilla-jscp ../.env.example .env # add your test keysnpm install && npm run dev