SFP-BLOCKS/TEST-CARD-HELPER
Test card helper
A small dev-helper block that exposes Stripe’s sandbox test card numbers (success, decline, 3DS, etc.) on the shop’s checkout page. Visible only when a query string flags it on, so it doesn’t leak into production rendering.
Live
Attributes
| Attribute | Type | Default | Description |
|---|---|---|---|
cards | array | preset list | Card test cases shown when active. Each {label, number, behavior} |
visibilityParam | string | "test-cards" | Query-string flag to enable rendering |
Example markup
<!-- wp:sfp-blocks/test-card-helper /-->