Skip to main content

Widget SDK live demos

All Paysight Widget integration patterns live in one playground — no copy-paste required. Each preset loads a sandbox config and keeps a Code tab in sync with PaySightSDK.createWidget({...}).

Open demo playground

Launch the full interactive demo at payment.paysight.io/demo.

Playground guide

Detailed walkthrough of every preset, inspector tabs, and what to try in each scenario.
All presets use environment: 'sandbox'. The Code tab always outputs the vanilla embed API documented here — use your own numeric productId in production.

Presets

PresetURLWhat to explore
BasicOpenMinimum config: product, session, amount, customer prefill, one email field
Full configOpenKitchen sink: all fields, 3DS, ecom, tracking data, theme CSS, success copy
Custom fieldsOpenToggle fields, half/full size, above/below position, ecom, buttonText
3D SecureOpenthreeDSRequired, cancelOnThreeDSFailure, failOnThreeDSChallenge
ThemingOpenTheme presets via theme.css, custom button text, payment success copy
Apple PayOpenapplePayEnabled + host applePayContainerId
Google PayOpengooglePayEnabled + host googlePayContainerId
Both walletsOpenApple Pay + Google Pay; toggle showOnlyWalletMethods
ShopifyOpenshopify cart mode — quantities, shipping, cart UI, wallets
UpsellOpensavePaymentMethodpaysightSession → upsell with usePreviousPaymentMethod
External buttonOpenhidePaymentButton: true + host CTA calling submitPayment / submitUpsell
Single purchaseOpenHost checkbox → widget.update({ singlePurchase }) before pay

Playground features

  • Preset navigator — 12 scenarios grouped by Start, Checkout UX, Risk, Wallets, and Funnels
  • Scenario / Setup controls — preset-specific and shared config panels that update the live widget
  • Event log — last 60 onMessage events with expected-event hints per preset
  • Config inspector — read-only JSON of the active WidgetConfig
  • Code tab — copyable vanilla embed generated from the live config
  • Reset session — fresh sessionId without leaving the preset
See the playground guide for a full explanation of each preset.