payment-ecommerce-testing
Skill1 starsChanged 53 days agoMITView on GitHub
Use when testing checkout, payments, carts, coupons, taxes, inventory, orders, refunds, and subscriptions — Stripe/PayPal/Adyen sandboxes, test cards, 3-D Secure, webhooks, idempotency, rounding, PCI scope, and WooCommerce/Shopify flows.
In this repository98 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- 42crunch-api-security-testingSkill
- a-b-testingSkill
- acceptance-testingSkill
- accessibility-testingSkill
- ai-agent-evaluationSkill
- ai-code-securitySkill
- ai-ml-testingSkill
- analytics-tracking-testingSkill
- api-testingSkill
- authn-authz-testingSkill
- autonomous-qa-orchestrationSkill
- bdd-gherkin-testingSkill
- blockchain-smart-contract-testingSkill
- bug-reportingSkill
- chaos-resilience-testingSkill
- chatbot-voice-agent-testingSkill
- cicd-testingSkill
- cli-testingSkill
- cloud-infrastructure-testingSkill
- code-coverage-analysisSkill
- compatibility-testingSkill
- compliance-testingSkill
- concurrency-race-condition-testingSkill
- configuration-feature-flag-testingSkill
- contract-testingSkill
- cross-browser-testingSkill
- database-testingSkill
- data-migration-testingSkill
- data-pipeline-etl-testingSkill
- date-time-timezone-testingSkill
- desktop-app-testingSkill
- disaster-recovery-backup-testingSkill
- e2e-testingSkill
- email-notification-testingSkill
- event-driven-messaging-testingSkill
- exploratory-testingSkill
- flaky-test-managementSkill
- functional-testingSkill
- fuzz-testingSkill
- game-testingSkill
- graphql-testingSkill
- iac-container-security-testingSkill
- installation-upgrade-testingSkill
- integration-testingSkill
- iot-embedded-testingSkill
- llm-security-auditSkill
- llm-testingSkill
- localization-testingSkill
- manual-testingSkill
- mcp-testingSkill
- memory-leak-resource-testingSkill
- microservices-testingSkill
- mobile-testingSkill
- mutation-testingSkill
- observability-testingSkill
- performance-testingSkill
- production-monitoring-synthetic-testingSkill
- property-based-testingSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 27
Use any future expiry/CVC.
- Very specific: line 47
Test with WP-CLI seeded products, gateway in test mode, plugin conflicts (cache, security, page-builder) at checkout, block vs classic …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Payment & E-commerce Testing
Money paths need the highest rigor: bugs cost revenue, trust and compliance. Sandbox only — never real cards or live keys in tests.
Journey map
Browse → search/filter → PDP (variants, stock) → cart (qty, merge guest→user) → coupon → shipping & tax → payment → confirmation/email → fulfillment → returns/refund → invoices/reports.
Test-card & sandbox cheat-sheet (Stripe test mode)
| Scenario | Card |
| Success | 4242 4242 4242 4242 |
| Decline (generic) | 4000 0000 0000 0002 |
| Insufficient funds | 4000 0000 0000 9995 |
| 3-D Secure required | 4000 0027 6000 3184 |
| Fails after 3DS | 4000 0000 0000 3220 (auth fails) |
| Dispute | 4000 0000 0000 0259 |
Use any future expiry/CVC. PayPal: sandbox buyer/seller accounts. Adyen/Braintree: their published test numbers. stripe listen --forward-to localhost:3000/webhook + stripe trigger payment_intent.succeeded for webhooks. |
Must-cover cases
- Cart & pricing: qty limits, out-of-stock race, price changes mid-checkout, rounding (bankers vs half-up, per-line vs total tax), multi-currency & FX, zero-decimal currencies (JPY), free items, bundles.
- Coupons: expired, single-use, per-user, stacking rules, min-spend, excluded items, case sensitivity, removal recalculation, race on last redemption (
concurrency-race-condition-testing). - Tax/shipping: address-based tax, VAT ID B2B exemption, shipping zones/rates, free-shipping threshold, PO boxes.
- Payment: success, decline, SCA/3DS, timeout, browser closed mid-payment, back button, double-click Pay → one charge (idempotency key), async methods (bank transfer, BNPL, wallets Apple/Google Pay).
- Webhooks: signature verified; duplicate/out-of-order events; order state derived from webhook not redirect; missed webhook recovery (reconcile job).
- Order state machine: created → paid → fulfilled → refunded/partially refunded/cancelled; illegal transitions rejected (
test-design-techniques). - Refunds/chargebacks: full/partial, coupon proration, restock, ledger entries balance, email sent.
- Subscriptions: trial, proration on upgrade/downgrade, dunning/retries, cancel at period end, pause, card expiry, tax changes.
- Guest checkout & accounts: saved cards (tokens only), address book, order history authz (
authn-authz-testing). - Data & compliance: PAN never logged/stored (PCI SAQ-A via hosted fields/Elements), PII handling, invoices numbering gapless, audit trail (
compliance-testing). - UX: form validation, autofill, mobile wallets, error messages that let users recover, accessibility of checkout (
accessibility-testing). - Analytics parity: revenue in analytics = orders DB (
analytics-tracking-testing).
Reconciliation (daily)
Payments provider report ↔ orders ↔ ledger ↔ bank: counts and totals per day/currency must tie out; any delta → ticket.
WooCommerce/Shopify notes
Test with WP-CLI seeded products, gateway in test mode, plugin conflicts (cache, security, page-builder) at checkout, block vs classic checkout, webhooks via wc-api; Shopify: dev store, checkout extensibility, Functions/discounts, Storefront API rate limits.
Related
e2e-testing, api-testing, security-testing, analytics-tracking-testing, compliance-testing
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

