Theme Playground
One theme prop drives FloPayCheckout and FloPayAutomaticPaymentButton. Pick a theme, optionally layer Customise overrides on top, copy the snippet.
Theme
Layout
Card field order (vault)
Overrides layer on top of the chosen theme — explicit values win.
colorPrimary
colorPrimaryHover
colorBackground
colorText
borderRadius
cardFieldPlaceholders.number
cardFieldPlaceholders.expiry
cardFieldPlaceholders.cvv
cardFieldPlaceholders.name
cardFieldLabels.number
cardFieldLabels.expiry
cardFieldLabels.cvv
cardFieldLabels.name
.Label color
.Label fontSize
.Label fontWeight
.Label letterSpacing
.Label textTransform
.Label marginBottom
Enabled Stripe payment methods (card, Apple Pay, Google Pay, Cash App Pay, Klarna, …) come live from
gateways.stripe.enabledPaymentMethods on the session response.submitLabel
paymentMethodLayout: the order of the groups, and which wait behind a closed “More payment options” link. The billing API picks the rule for each buyer. Left at the SDK default (PayPal, Wallets, APMs, Card), the prop is left out.Default (every other country)
OrderBehind link
1. PayPal
2. Wallets
3. APMs
4. Card
moreOptionsLabel
Buyer country (simulator)
The merchant-sent country goes on the preview session as
account.country and picks the country rule. With none sent, the billing API uses your real IP country from the edge; the demo never fakes one, and where the API cannot read it the default rule applies.On (the SDK default), the session is created as a lightweight shell and the card form mounts before buyer, product and coupon data are attached in the background. Turn it off to send
deferDataAttachment: false and use the original one-shot create — same session and result, one request. Full checkout mode only.