Wallet Error Handling
Wallet elements exposeonError and onCancel handlers.
PROVIDER_ERRORVALIDATION_ERRORCONFIGURATION_ERRORUNKNOWN
Card and 3DS Mount Errors
mount() throws if the target is invalid or if the provider component fails to mount.
Common Failure Points
Target element not found
Target element not found
The selector passed to
mount() does not match a DOM node. Ensure the element exists before mounting.Google Pay sheet opens with no payment method
Google Pay sheet opens with no payment method
On the default
allowedAuthMethods: ['THREE_DS'], a wallet holding only cards saved to the shopper’s Google account has nothing eligible to offer, and no SDK event fires. Enable UNAUTHENTICATED to accept those cards — at the cost of the liability shift. See allowedAuthMethods.googlePay() throws at element creation
googlePay() throws at element creation
allowedAuthMethods was empty, or carried a value other than UNAUTHENTICATED and THREE_DS.3DS session errors
3DS session errors
Verify that sessions are not expired. Sessions expire 1 hour after creation. Request a new session and remount on retry.
3DS proceeds despite FAILED auth_status
3DS proceeds despite FAILED auth_status
Always check
auth_status from your backend session response before mounting the 3DS element. A FAILED status means the card was rejected before the authentication flow could start — do not mount and do not proceed with payment. Only mount for ACTION_REQUIRED; the SDK handles frictionless and challenge flows internally from there.
