payment-integration
Payment Integration
Production-proven payment processing with SePay (Vietnamese banks), Polar (global SaaS), Stripe (global infrastructure), Paddle (MoR subscriptions), and Creem.io (MoR + licensing).
When to Use
- Payment gateway integration (checkout, processing)
- Subscription management (trials, upgrades, billing)
- Webhook handling (notifications, idempotency)
- QR code payments (VietQR, NAPAS)
- Software licensing (device activation)
- Multi-provider order management
- Revenue splits and commissions
Platform Selection
| Platform | Best For |
|---|---|
| SePay | Vietnamese market, VND, bank transfers, VietQR |
| Polar | Global SaaS, subscriptions, automated benefits (GitHub/Discord) |
| Stripe | Enterprise payments, Connect platforms, custom checkout |
| Paddle | MoR subscriptions, global tax compliance, churn prevention |
| Creem.io | MoR + licensing, revenue splits, no-code checkout |
Quick Reference
SePay
references/sepay/overview.md- Auth, supported banksreferences/sepay/api.md- Endpoints, transactionsreferences/sepay/webhooks.md- Setup, verificationreferences/sepay/sdk.md- Node.js, PHP, Laravelreferences/sepay/qr-codes.md- VietQR generationreferences/sepay/best-practices.md- Production patterns
Polar
references/polar/overview.md- Auth, MoR conceptreferences/polar/products.md- Pricing modelsreferences/polar/checkouts.md- Checkout flowsreferences/polar/subscriptions.md- Lifecycle managementreferences/polar/webhooks.md- Event handlingreferences/polar/benefits.md- Automated deliveryreferences/polar/sdk.md- Multi-language SDKsreferences/polar/best-practices.md- Production patterns
Stripe
references/stripe/stripe-best-practices.md- Integration designreferences/stripe/stripe-sdks.md- Server SDKsreferences/stripe/stripe-js.md- Payment Elementreferences/stripe/stripe-cli.md- Local testingreferences/stripe/stripe-upgrade.md- Version upgrades- External: https://docs.stripe.com/llms.txt
Paddle
references/paddle/overview.md- MoR, auth, entity IDsreferences/paddle/api.md- Products, prices, transactionsreferences/paddle/paddle-js.md- Checkout overlay/inlinereferences/paddle/subscriptions.md- Trials, upgrades, pausereferences/paddle/webhooks.md- SHA256 verificationreferences/paddle/sdk.md- Node, Python, PHP, Goreferences/paddle/best-practices.md- Production patterns- External: https://developer.paddle.com/llms.txt
Creem.io
references/creem/overview.md- MoR, auth, global supportreferences/creem/api.md- Products, checkout sessionsreferences/creem/checkouts.md- No-code links, storefrontsreferences/creem/subscriptions.md- Trials, seat-basedreferences/creem/licensing.md- Device activationreferences/creem/webhooks.md- Signature verificationreferences/creem/sdk.md- Next.js, Better Auth- External: https://docs.creem.io/llms.txt
Multi-Provider
references/multi-provider-order-management-patterns.md- Unified orders, currency conversion
Scripts
scripts/sepay-webhook-verify.js- SePay webhook verificationscripts/polar-webhook-verify.js- Polar webhook verificationscripts/checkout-helper.js- Checkout session generator
Key Capabilities
| Platform | Highlights |
|---|---|
| SePay | QR/bank/cards, 44+ VN banks, webhooks, 2 req/s |
| Polar | MoR, subscriptions, usage billing, benefits, 300 req/min |
| Stripe | CheckoutSessions, Billing, Connect, Payment Element |
| Paddle | MoR, overlay/inline checkout, Retain (churn prevention), tax |
| Creem.io | MoR, licensing, revenue splits, no-code checkout |
Implementation
See references/implementation-workflows.md for step-by-step guides per platform.
General flow: auth → products → checkout → webhooks → events
More from hotriluan/alkana-dashboard
frontend-design
Create polished frontend interfaces from designs/screenshots/videos. Use for web components, 3D experiences, replicating UI designs, quick prototypes, immersive interfaces, avoiding AI slop.
19ui-ux-pro-max
UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 9 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples.
3frontend-dev-guidelines
Build React/TypeScript frontends with modern patterns. Use for components, Suspense, lazy loading, useSuspenseQuery, MUI v7 styling, TanStack Router, performance optimization.
3ui-styling
Style UIs with shadcn/ui components (Radix UI + Tailwind CSS). Use for accessible components, themes, dark mode, responsive layouts, design systems, color customization.
3devops
Deploy to Cloudflare (Workers, R2, D1), Docker, GCP (Cloud Run, GKE), Kubernetes (kubectl, Helm). Use for serverless, containers, CI/CD, GitOps, security audit.
3repomix
Pack repositories into AI-friendly files with Repomix (XML, Markdown, plain text). Use for codebase snapshots, LLM context preparation, security audits, third-party library analysis.
1