payment-integration
Integrate payments with SePay (VietQR), Polar, Stripe, Paddle (MoR subscriptions), Creem.io (licensing). Checkout, webhooks, subscriptions, QR codes…
它会碰到什么
逐条看命中(13 条严重或高危)
- 严重
README.md:66cred-paths└── .env.example # Environment variable template
- 严重
README.md:111cred-pathsCopy `.env.example` to `.env` and configure:
- 严重
README.md:111cred-pathsCopy `.env.example` to `.env` and configure:
- 严重
references/creem/sdk.md:154cred-paths# .env
- 严重
references/sepay/sdk.md:157cred-paths**Configuration (.env):**
- 高
scripts/checkout-helper.js:202cred-envreadconfig.merchantId = config.merchantId || process.env.SEPAY_MERCHANT_ID;
- 高
scripts/checkout-helper.js:203cred-envreadconfig.secretKey = config.secretKey || process.env.SEPAY_SECRET_KEY;
- 高
scripts/checkout-helper.js:204cred-envreadconfig.env = config.env || process.env.SEPAY_ENV || 'sandbox';
- 高
scripts/checkout-helper.js:216cred-envreadconfig.accessToken = config.accessToken || process.env.POLAR_ACCESS_TOKEN;
- 高
scripts/checkout-helper.js:217cred-envreadconfig.server = config.server || process.env.POLAR_SERVER || 'production';
- 高
scripts/polar-webhook-verify.js:158cred-envreadconst secret = args[1] || process.env.POLAR_WEBHOOK_SECRET;
- 高
scripts/sepay-webhook-verify.js:159cred-envreadconst authType = process.env.SEPAY_WEBHOOK_AUTH_TYPE || 'none';
- 高
scripts/sepay-webhook-verify.js:160cred-envreadconst apiKey = process.env.SEPAY_WEBHOOK_API_KEY || null;
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
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
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。