v1.2.0 - Stripe APM (Cashapp, Klarna, Link, and others) enabled at checkout #
SplitCardForm now renders Stripe payment methods directly from the per-session enabledPaymentMethods list, so turning on Cash App Pay, Klarna, Affirm, iDEAL, and other APMs in your Stripe dashboard takes effect without any SDK or app code changes.
31 May 2026
FloPay SDK v1.2.0 hands control of which Stripe payment methods appear in SplitCardForm to the session payload. The checkout reads gateways.stripe.enabledPaymentMethods from the session and renders only what the merchant has enabled for that Stripe account, partitioned automatically between the express-checkout button row and a new APM accordion. Enabling a new method in the Stripe dashboard now flows through to live checkouts with no redeploy.
What changed
SplitCardFormnow readsgateways.stripe.enabledPaymentMethodsfrom the checkout session and uses it to drive which methods render. Card entry continues to live in the dedicated split-card fields.- Express methods (Apple Pay, Google Pay, PayPal, Link, Amazon Pay, Klarna) are placed in the top express-checkout row. Other enabled APMs (Cash App Pay, Affirm, iDEAL, and similar) render in a new accordion
PaymentElementregion below. - New
showStripeandshowPayPalprops onSplitCardFormprovide gateway-level visibility toggles (both default totrue). When a session ships a PayPal gateway, the PayPal renderer is selected automatically: the DirectPayPal SDK when available, otherwise Stripe-rendered PayPal. SplitCardFormnow emits avalidation_errorthroughonErrorat integration time when bothshowStripe={false}and PayPal is unavailable, instead of rendering an empty checkout.- The tokenization payload (
TokenizedBody) gains two fields,gatewayandpaymentMethodType, so backends can route the resulting/v1/checkouts/sessions/processcall by gateway and method.isPaypalis still populated for PayPal flows during the deprecation window.
Why it matters
- Merchants can light up new Stripe payment methods directly from the Stripe dashboard and have them appear in checkout without an SDK upgrade or app release.
- Integrators get a single, predictable layout: express buttons on top, additional APMs in an accordion, card entry in the split fields — driven entirely by the session payload.
- Misconfigurations that previously produced an empty checkout surface are now caught early through a clear validation error.
Developer notes
- Ensure your billing session response populates
gateways.stripe.enabledPaymentMethodswith the methods you want exposed (for example["card", "apple_pay", "google_pay", "klarna", "cashapp"]). Methods omitted from this list will not render. - The
showApplePayandshowGooglePayprops onSplitCardFormare deprecated in favor of session-driven visibility. They still work for now but will be removed in a future minor; prefer driving visibility throughenabledPaymentMethodsand the newshowStripe/showPayPalprops. - If your backend inspects the tokenization payload, you can now switch on the new
gatewayandpaymentMethodTypefields onTokenizedBodyinstead of relying on theisPaypalboolean.isPaypalremains set for PayPal during the deprecation window so existing integrations keep working. - When toggling
showStripe={false}, make sure a PayPal gateway is configured for the session, otherwiseSplitCardFormwill surface avalidation_errorthroughonErrorrather than rendering.