v148 · Web APIs · Payment
Payment Method Checker
An e-commerce checkout that probes SPC and Payment Request availability before showing payment UI, then records which real browser path is available on this device.
Checkout
Order summary
Chrome 148 Dev Guide × 1£29.00
Shipping£0.00
Total£29.00
SPC capabilities object
API available—
spcSupported—
authenticatorAttachment—
userVerifyingPlatformAuth—
Payment method availability grid
Secure Payment Confirmation
not checked
Biometric passkey confirmation via WebAuthn. Requires platform authenticator.
getSecurePaymentConfirmationCapabilities()
platform authenticator
Credit / Debit Card
not checked
Basic card payment via PaymentRequest. Universally supported.
basic-card
PaymentRequest API
Google Pay
not checked
Requires Google account and saved card. Android/Chrome Desktop.
https://google.com/pay
Apple Pay
not checked
Requires Safari or iOS. Not available in Chrome.
https://apple.com/apple-pay
Run checkout decision
Run the capability checks first, then choose the payment path this browser actually supports.
-
Check SPC capabilitiesCall
securePaymentConfirmationAvailability()or the older capabilities method when present. -
Select payment methodBased on capabilities, choose between SPC, Google Pay, or basic card
-
Present payment UIShow the appropriate payment sheet or fallback form
-
Payment completeHandle response and confirm order
see also
implementation reference
Need the exact API surface, compatibility boundaries, errors, lifecycle, and source links? Read the matching gendn reference ↗