CtrlK
BlogDocsLog inGet started
Tessl Logo

testland/payment-flow-test-author

Build-an-X workflow that authors the full payment-flow test suite in three phases: the refund matrix (full / partial / multiple-partials / over-refund / already-refunded, per-gateway APIs for Stripe, Adyen, PayPal, Braintree), the chargeback / dispute suite (Visa + Mastercard reason codes, evidence submission windows, won / lost / accepted dispositions), and webhook replay + recovery via gateway-native simulators (Stripe CLI trigger / resend, Adyen Customer Area resend, PayPal Webhook Simulator, Braintree sampleNotification). Driven by the state model in payment-flow-states-reference. Use when building refund, dispute, or payment-webhook-robustness coverage for a payment integration; for generic (non-payment) webhook receiver testing use webhook-delivery-tester in the qa-notifications plugin.

72

Quality

91%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Medium

Suggest reviewing before use

Overview
Quality
Evals
Security
Files

reason-codes.mdreferences/

Chargeback reason code catalog

Pick the 3-5 most-common reason codes for your business and verify the evidence-collection flow for each. Each code carries different evidence requirements, so a single-reason test under-covers the suite. Visa, Mastercard, and AmEx each maintain their own reason-code catalogs.

Visa

Per Visa Chargeback Reason Codes (cite by stable ID: Visa Chargeback Management Guidelines):

CodeCategoryDescription
10.4Fraud"Card-absent environment fraud"
11.1AuthorizationCard recovery bulletin
11.2AuthorizationDeclined authorization
11.3AuthorizationNo authorization
12.1Processing errorsLate presentment
12.2Processing errorsIncorrect transaction code
12.3Processing errorsIncorrect currency
12.4Processing errorsIncorrect account number
13.1Consumer disputesMerchandise/services not received
13.2Consumer disputesCancelled recurring transaction
13.3Consumer disputesNot as described
13.5Consumer disputesMisrepresentation

Mastercard

Per Mastercard MCC chargeback reason codes (cite by stable ID: Mastercard Chargeback Guide):

CodeDescription
4853Cardholder disputes
4855Non-receipt of merchandise
4859Services not rendered
4863Cardholder doesn't recognize

Sources

  • Visa Chargeback Reason Codes (cite by stable ID: Visa Chargeback Management Guidelines).
  • Mastercard Chargeback Guide (cite by stable ID).

SKILL.md

tile.json