← Back to Gallery

Express Checkout

Pass the wallets prop to show Apple Pay and Google Pay buttons above the card form. Buttons auto-hide when the device doesn't support the wallet — Apple Pay only renders on Safari, Google Pay requires the Payment Request API.

States

Both Wallets Available

Or pay with card
Card number
MM / YY
CVC

Only Apple Pay

Or pay with card
Card number
MM / YY
CVC

No Wallets Available

Card number
MM / YY
CVC

Implementation

Enable both wallets
// Enable both wallets
<BlazeCheckout
  wallets={{{ applePay: true, googlePay: true }}}
  onWalletClick={(wallet) => handleWalletPayment(wallet)}
  // ... other props
/>
Apple Pay only
// Apple Pay only
<BlazeCheckout
  wallets={{{ applePay: true }}}
  onWalletClick={(wallet) => handleWalletPayment(wallet)}
  // ... other props
/>

API Reference

Prop Type Description
wallets { applePay?: boolean; googlePay?: boolean } Optional. Enables wallet buttons above the card form.
onWalletClick (wallet: "applePay" | "googlePay") => void Called when a wallet button is clicked.

Behavior Notes