Cookbook
One finished implementation per stack, for the problems the guides describe.
A guide explains a problem and the shape of its solution, in whatever language you read. A recipe is the other half: one finished implementation, in one stack, with the file names and the imports and the parts nobody writes down.
Pick the recipe whose stack matches yours. If none of them does, read the guide behind it: the reasoning transfers, only the syntax does not.
The five recipes
| Recipe | Stack | What it actually shows |
|---|---|---|
| Next.js checkout | Next.js App Router, TypeScript | A Server Action that charges a price the client cannot choose |
| Express webhook handler | Express, TypeScript | An endpoint that survives retries, replays and malformed bodies |
| Laravel recurring billing | Laravel 11, PHP | Subscriptions built from plain payments, with dunning |
| Django marketplace | Django REST Framework, Python | A Sync marketplace where money lands on the vendor, not on you |
| React Native Mobile Money | Expo or bare React Native | A mobile checkout with no key in the bundle |
What every recipe assumes
None of them repeats the basics. Each one assumes you already have an account, sandbox keys and the SDK installed, and that you have read the guide it implements.
Each one also follows the same two rules, because every integration that works does.
The server decides the price. An amount that arrives from a browser or a phone is a suggestion, not an instruction. Every recipe reads the amount from its own database.
The webhook decides the outcome. A return page, a deep link or an SDK callback tells you what the client believes. Only a verified webhook tells you what happened.
Related pages
- Next.js checkoutServer Action, hosted page, return route and webhook.
- Express webhook handlerVerification, deduplication and an acknowledgement in ten milliseconds.
- Laravel recurring billingPlans, cycles, renewals and dunning as Artisan commands.
- Django marketplaceVendor onboarding through Sync, and a basket split across sellers.
- React Native Mobile MoneyThe native sheet, and the WebView fallback done correctly.
- Guides & tutorialsThe reasoning each recipe implements.