Portfolio Demo Blockset is the platform's own block library. Every block on these pages is server-rendered, FSE-native, and used in real demos on the hub. See the platform →Built by Philip Rehberger

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

AttributeTypeDefaultDescription
cardsarraypreset listCard test cases shown when active. Each {label, number, behavior}
visibilityParamstring"test-cards"Query-string flag to enable rendering

Example markup

html
<!-- wp:sfp-blocks/test-card-helper /-->
Paste this in any block-editor view (or in a theme template) to drop the block in.