AGENT SKILL

支付服务集成

payment-integration

集成 SePay(VietQR)、Polar、Stripe、Paddle(MoR 订阅)和 Creem.io(授权许可)支付。涵盖结账、webhook、订阅、二维码和多提供商订单。

License 许可
MIT
最近更新
2026-08-27
Stars
★ 0
Forks
0

01 前言 Front Matter

name
payment-integration
license
MIT
version
2.2.0
description
Integrate payments with SePay (VietQR), Polar, Stripe, Paddle (MoR subscriptions), Creem.io (licensing). Checkout, webhooks, subscriptions, QR codes, multi-provider orders.

02 资源文件 21

03 SKILL.md 正文

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 banks
  • references/sepay/api.md - Endpoints, transactions
  • references/sepay/webhooks.md - Setup, verification
  • references/sepay/sdk.md - Node.js, PHP, Laravel
  • references/sepay/qr-codes.md - VietQR generation
  • references/sepay/best-practices.md - Production patterns

Polar

  • references/polar/overview.md - Auth, MoR concept
  • references/polar/products.md - Pricing models
  • references/polar/checkouts.md - Checkout flows
  • references/polar/subscriptions.md - Lifecycle management
  • references/polar/webhooks.md - Event handling
  • references/polar/benefits.md - Automated delivery
  • references/polar/sdk.md - Multi-language SDKs
  • references/polar/best-practices.md - Production patterns

Stripe

  • references/stripe/stripe-best-practices.md - Integration design
  • references/stripe/stripe-sdks.md - Server SDKs
  • references/stripe/stripe-js.md - Payment Element
  • references/stripe/stripe-cli.md - Local testing
  • references/stripe/stripe-upgrade.md - Version upgrades
  • External: https://docs.stripe.com/llms.txt

Paddle

  • references/paddle/overview.md - MoR, auth, entity IDs
  • references/paddle/api.md - Products, prices, transactions
  • references/paddle/paddle-js.md - Checkout overlay/inline
  • references/paddle/subscriptions.md - Trials, upgrades, pause
  • references/paddle/webhooks.md - SHA256 verification
  • references/paddle/sdk.md - Node, Python, PHP, Go
  • references/paddle/best-practices.md - Production patterns
  • External: https://developer.paddle.com/llms.txt

Creem.io

  • references/creem/overview.md - MoR, auth, global support
  • references/creem/api.md - Products, checkout sessions
  • references/creem/checkouts.md - No-code links, storefronts
  • references/creem/subscriptions.md - Trials, seat-based
  • references/creem/licensing.md - Device activation
  • references/creem/webhooks.md - Signature verification
  • references/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 verification
  • scripts/polar-webhook-verify.js - Polar webhook verification
  • scripts/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

04 同仓库更多 Skills

Puh1001
Puh1001/DocumentManager

Next.js 全栈 Web 开发

web-frameworks

使用 Next.js(App Router、Server Components、RSC、PPR、SSR、SSG、ISR)、Turborepo(monorepo 管理、任务流水线、远程缓存、并行执行)和 RemixIcon(3100+ 个线性/填充风格 SVG 图标)构建现代全栈 Web 应用。适用于创建 React 应用、实现服务端渲染、搭建包含多个包的 monorepo、优化构建性能与缓存策略、添加图标库、管理共享依赖,或开发 TypeScript 全栈项目。

软件开发工程师前端开发与界面实现
★ 0
Puh1001
Puh1001/DocumentManager

UI 界面样式设计与实现

ui-styling

使用 shadcn/ui 组件(基于 Radix UI + Tailwind 构建)、Tailwind CSS 工具类优先(utility-first)的样式方案以及基于画布的视觉设计,创建美观且无障碍的用户界面。适用于构建用户界面、实现设计系统、创建响应式布局、添加无障碍组件(对话框、下拉菜单、表单、表格)、定制主题与配色、实现深色模式、生成视觉设计与海报,或在多个应用间建立一致的样式规范。

软件开发工程师前端开发与界面实现
★ 0
Puh1001
Puh1001/DocumentManager

Three.js 三维网页应用开发

threejs

使用 Three.js(WebGL/WebGPU)构建 3D Web 应用。适用于 3D 场景、动画、自定义着色器、PBR 材质、VR/XR 体验、游戏、数据可视化和产品配置器。

软件开发工程师着色器与图形开发
★ 0
Puh1001
Puh1001/DocumentManager

结构化逐步推理

sequential-thinking

当复杂问题需要系统的逐步推理,并能够修正思路、分支到备选方案或动态调整范围时使用。适用于多阶段分析、设计规划、问题分解或初始范围尚不清晰的任务。

知识工作者结构化问题解决引导
★ 0
Puh1001
Puh1001/DocumentManager

技术方案研究规划

research

当需要对可扩展、安全且可维护的技术方案进行研究、分析和规划时使用。

软件开发工程师技术预研与概念验证
★ 0
Puh1001
Puh1001/DocumentManager

技术方案规划

planning

适用于需要规划可扩展、安全且可维护的技术方案时。

系统架构师任务规划与分解
★ 0