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 with SanwoPlugin and useSanwoCheckout composable.
AngularAngular 18 app using @sanwohq/web with standalone components.
SvelteSvelte 4 app with createSanwoContext and checkout store.
Mobile
Section titled “Mobile”React NativeReact Native app with SanwoProvider and useSanwoCheckout.
FlutterFlutter app with Sanwo callable class and CheckoutOptions.
Server-side
Section titled “Server-side”LaravelLaravel app with Blade components and Sanwo.create() checkout.
.NET / C#ASP.NET Razor Pages with Tag Helpers and Sanwo.create() checkout.
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.
No-code
Section titled “No-code”Embed / CDNZero-code payment buttons with data attributes — no build tools needed.
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