Skip to content

payment-guard 0.1.0

Choose a tag to compare

@zhuyansen zhuyansen released this 17 Oct 03:08
· 7 commits to main since this release

中文说明在英文之后。

Pick a payment platform you can actually open, then check your website against its published review list before you apply. The first release: two commands, eight platforms, and the official page behind every line.

What it does

  • pick: which of Creem, Dodo Payments, Waffo Pancake, Paddle, Lemon Squeezy, Gumroad, Polar and Stripe an individual or a company in mainland China, a Hong Kong company or a US company can open; how each treats your kind of product; what a US$20 sale to a buyer abroad leaves after fees; and which platforms sellers of the same kind of product use.
  • check: reads your home page and the pages a reviewer opens (pricing, terms, privacy, refund, contact, acceptable use), then each platform's published list. Every line is pass, fix, look, unknown or check yourself, with a level (blocker, required, advised) and its source.
  • rules: each platform's requirements with their sources, read on 2026-10-16.
  • Reports in English or Chinese (--lang zh) and JSON (--json). The Claude Code skill and plugin also draft missing terms, privacy, refund or acceptable use pages from what the check read, marked "not legal advice".

How well it works

On 60 sites that Creem, Dodo Payments, Polar and Lemon Squeezy had already approved, each checked against its own platform's list: 45 ready, 14 fix first, 1 did not load that day, none blocked. The fixes were mostly Dodo's rule that legal pages be linked from the footer or the navigation, missing refund or terms pages, and prices drawn by a script, which the check does not read.

Install

pip install "git+https://github.com/zhuyansen/payment-guard"
payment-guard pick --entity cn-individual --product saas
payment-guard check yoursite.com --for creem,dodo,waffo

In Claude Code:

claude plugin marketplace add zhuyansen/payment-guard
claude plugin install payment-guard@payment-guard

Python 3.10 or newer, no dependencies, no keys. It reads public pages only and never signs up or submits anything.


中文

先挑一个你真能开户的收款平台,再在提交审核之前,按它公开的清单把网站查一遍。 第一个版本:两个命令、八家平台,每一条都附官方来源。

能做什么

  • pick:大陆个人或公司、香港公司、美国公司,分别能开 Creem、Dodo Payments、Waffo Pancake、Paddle、Lemon Squeezy、Gumroad、Polar、Stripe 里的哪几家;每家怎么看你这类产品;一笔 20 美元的海外订单扣完费用到手多少;同类产品的卖家都在用哪家。
  • check:读你的首页和审核员会点开的页面(价格、条款、隐私、退款、联系、可接受使用政策),再按每家公开的清单逐条检查。每一条的状态是通过、要改、要看一眼、读不到或人工看,并附级别(拦路、必需、建议)和来源。
  • rules:列出每家的要求和来源,读取于 2026-10-16。
  • 报告有中文(--lang zh)和英文,也能输出 JSON(--json)。Claude Code 的 skill 和插件还会根据读到的内容,起草缺的服务条款、隐私政策、退款政策或可接受使用政策,并标注「不是法律意见」。

效果如何

拿 60 个已经被 Creem、Dodo Payments、Polar、Lemon Squeezy 批准的网站,按批准它的那家清单查:45 个可以提交,14 个要先改,1 个当天打不开,没有一个被误判为会被拦住。要改的大多是 Dodo 要求法律页面放在页脚或导航里、缺退款或条款页,以及由脚本渲染、工具读不到的价格。

安装

pip install "git+https://github.com/zhuyansen/payment-guard"
payment-guard pick --entity cn-individual --product saas --lang zh
payment-guard check 你的域名 --for creem,dodo,waffo --lang zh

在 Claude Code 里:

claude plugin marketplace add zhuyansen/payment-guard
claude plugin install payment-guard@payment-guard

需要 Python 3.10 或更新版本,没有任何依赖,不要 key。它只读公开页面,不注册、不提交任何东西。