payment-testing

仓库创建 2026年3月24日最近提交 1 个月前SkillHot 收录 2 天前
▸ 精选理由

覆盖 webhook、订阅时钟与嵌套 iframe 等常漏测场景

▸ 风险提示

需要访问第三方支付沙箱和测试凭据,可能泄露敏感信息

这个 Skill 做什么

在 PSP 沙箱环境中端到端测试支付与结账流程,包含 Stripe 测试卡与 3DS 等。

在 PSP 沙箱里做端到端支付与结账测试,Stripe 为主,覆盖测试卡号、各种拒付码、3DS 嵌套 iframe、test clocks、webhook 验签与幂等性、退款与重试场景。专门针对那些常被常规 E2E 忽略的故障(跨域 iframe 找不到字段、重试导致重复履约等)来设计用例,绝对不要用真实卡。适合验收 checkout、订阅续费和 webhook 流程时使用。

▸ 展开 SKILL.md 英文原文

Test payment and checkout flows end to end against PSP sandboxes — Stripe first, with the general pattern for Adyen/Braintree/PayPal. Covers Stripe test-mode card numbers and their decline codes, the 3DS/SCA challenge flow and its nested-iframe handling in Playwright, test clocks for subscription/billing-cycle simulation, webhook testing (stripe listen/trigger, signature verification, idempotency), failed/retried payments and refunds, and never using real cards. Use when: "test Stripe checkout," "payment test," "3DS test," "test webhook signature," "test subscription renewal," "test clock," "refund test," "decline card test," "checkout E2E." Not for: General API contract testing of non-payment endpoints — api-testing. PCI-DSS/regulatory compliance audit — compliance-testing. Related: api-testing, playwright-automation, compliance-testing, test-data-management, qa-project-context.

开发编程支付流程E2EPlaywrightPSP通用
47
Stars
10
Forks
40
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/petrkindlmann/qa-skills/main/skills/payment-testing/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/petrkindlmann/qa-skills/main/skills/payment-testing/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
<objective>
Payment flows fail in ways generic E2E tests miss: a card field in a cross-origin iframe
that `page.locator` silently never reaches, a renewal that won't trigger for a year, a
webhook handler that "works" until Stripe retries and fulfills an order twice, an order
marked paid on a redirect that the browser forged. This skill makes you test payments the
way they actually break — against PSP sandboxes, with the real test cards, the nested 3DS
challenge, server-side test clocks, signature-verified webhooks, and idempotent
fulfillment. Never a real PAN, never a live key.
</objective>

## Quick Route

| You need to test… | Go to | Reference |
|-------------------|-------|-----------|
|
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有