payment-testing

payment-testing is a skill for Claude Code, Codex from petrkindlmann/qa-skills. It costs 192 tokens per session (4,864 once invoked), scanned A, original, MIT.

A guide for testing payment and checkout flows in payment-provider sandboxes, which are test environments that do not charge real money. It focuses on Stripe and also describes patterns for Adyen, Braintree, and PayPal.

In plain words
What is it for?
Use it to test Stripe test cards, 3DS/SCA challenges, subscription renewals with test clocks, signed webhooks, failed payments, refunds, and payment-provider sandbox flows.
Why use it?
It helps verify success, declines, 3D Secure checks, subscriptions, refunds, webhooks, and fulfillment without waiting for real billing events or risking real payments.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

not rated 113repo +7 2mo ago A scan Socket: passSnyk: warnSkillSpector: pass 192 tokens original MIT

Good fit Use it to test Stripe test cards, 3DS/SCA challenges, subscription renewals with test clocks, signed webhooks, failed payments, refunds, and payment-provider sandbox flows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/petrkindlmann/qa-skills/payment-testing
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add petrkindlmann/qa-skills --skill payment-testing
Clone the repo
git clone --depth 1 https://github.com/petrkindlmann/qa-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for payment-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/petrkindlmann/qa-skills/payment-testing.svg)](https://agentmods.dev/skills/petrkindlmann/qa-skills/payment-testing)
Your own site
<a href="https://agentmods.dev/skills/petrkindlmann/qa-skills/payment-testing"><img src="https://agentmods.dev/badge/skills/petrkindlmann/qa-skills/payment-testing.svg" alt="Measured on agentmods" height="20"></a>
Per session 192 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,864 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 13 Jun 2026
  • Snyk warn 13 Jun 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00192 $0.04864
Opus 5 $0.00096 $0.02432
Sonnet 5 $0.00038 $0.00973
Haiku 4.5 $0.00019 $0.00486

Measured 8d ago against content hash 36dada06d6d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

payment-testing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/payment-testing/SKILL.md · 373 lines

How it starts

The opening of the file, as written. The whole thing — 373 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Quick Route

You need to test… Go to Reference
Success / decline / insufficient-funds outcomes Test cards references/stripe-test-cards.md
A 3DS/SCA challenge that pops a modal 3DS challenge references/playwright-3ds.md
A subscription renewal months/years out Test clocks references/webhooks-and-clocks.md
Webhooks reaching localhost + signatures Webhooks references/webhooks-and-clocks.md
A failed renewal then a refund Failed payments references/webhooks-and-clocks.md
Fulfillment only after real payment Reconciliation references/webhooks-and-clocks.md
Adyen / PayPal / Braintree sandboxes Multi-PSP references/multi-psp.md

Discovery Questions

First, check .agents/qa-project-context.md in the project root and skip anything it already answers (PSP, stack, test framework, existing fixtures). Then clarify:

  • Which PSP, and is it Stripe? Stripe is the default here. Other PSPs share the pattern but have their own sandbox cards/accounts — see Multi-PSP.
  • One-time payments, subscriptions, or both? Subscriptions pull in test clocks, dunning, and the invoice.* lifecycle; one-time payments don't.
  • Is SCA/3DS in play? EU/UK card flows almost always challenge. If yes you need the nested-iframe pattern, not plain locators.
  • Do you fulfill on a webhook or on the redirect today? If fulfillment happens on return_url, that's the bug to test for — fulfillment must wait for the verified webhook.
  • Where does the webhook handler run in tests? Local (stripe listen) vs a deployed preview env changes how you deliver events.

Read the full file on GitHub · 373 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 373 lines · 192 tokens per session scan A 36dada06d6d0

Subscribe to this mod's changes

payment-testing is a skill published in the GitHub repository petrkindlmann/qa-skills (113 stars, last pushed 2mo ago), licensed MIT. It adds 192 tokens to every session and 4,864 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.