Overview
Wallet-only checkout lets you present a streamlined flow: Apple Pay and/or Google Pay on the host page, with the card form, custom fields, and pay button hidden inside the iframe and the horizontal “OR” divider hidden on the host—when the shopper’s device and your configuration support at least one wallet. SetshowOnlyWalletMethods: true in your widget configuration alongside a fully configured Apple Pay and/or Google Pay setup (merchant ids, containers, etc.).
Wallet buttons are parent-hosted (above the iframe), same as the standalone Apple Pay and Google Pay guides describe.
When to use it
- You want wallet-first checkout and are fine falling back to the full card form if something goes wrong.
- You already enable Apple Pay and/or Google Pay on the widget.
Requirements
| Config | Purpose |
|---|---|
showOnlyWalletMethods: true | Turns on wallet-only mode when preconditions pass. |
applePayEnabled + applePayOptions | And/or |
googlePayEnabled + googlePayOptions | At least one wallet must be fully configured. |
applePayContainerId / googlePayContainerId (or default slots) when using those wallets—see Wallet buttons on the host page in the Configuration guide.
What shoppers see
| Area | Wallet-only (when active) |
|---|---|
| Host page | Wallet button(s) above the iframe; “OR” divider hidden when the iframe is in wallet-only layout. |
| Iframe | Card fields, custom fields, and primary pay button hidden while wallets-only layout applies. |
Fallback behavior (full card form)
The widget expands to the full card UI when:showOnlyWalletMethodsis off or no wallet is configured.- No enabled wallet is available on the device, readiness times out (~5s), or readiness reports no usable wallet.
- A wallet payment fails (or a related processing error) while in wallet-only mode.
Example
config fields on the Widget component from @paysight/widget-sdk (see Configuration).
Related guides
Configuration
Full
showOnlyWalletMethods parameter and wallet container options.Apple Pay via Widget
Apple Pay setup and domain verification.
Google Pay via Widget
Google Pay setup and testing.
Configuration reference
Field-by-field reference tables.