Skip to main content

Card status

The enum CardStatus defines the potential states a card can be in. The state of a given card can be retrieved using the method WPPComponents.getCardStatus.

State machine

The following diagram shows the typical transitions between card states. UNKNOWN isn't shown - it's a fallback the SDK returns when it can't determine the current state.

States

StatusMeaningRecommended action
UNAVAILABLEGoogle Pay turned off or unsupported on the user's devicePrompt the user to install or enable Google Pay.
NOT_PROVISIONEDCard eligible but not yet provisionedOffer "Add to Google Wallet".
PROVISIONEDCard activeOffer "Set default NFC payment" if desired.
PENDINGActivation in progressShow a pending state and poll getCardStatus for updates.
NEEDS_IDENTITY_VERIFICATIONKYCKYC (Know Your Customer). Know Your Customer - the identity verification process for consumer customers. This process allows you to securely verify your user's identity. Weavr asks users to submit the information and documentation they need for approval by financial providers. incompleteRelaunch the provisioning flow to finish verification.
SUSPENDEDTemporarily blockedDirect the user to contact issuer support.

| UNKNOWN | Unrecognized state | Log the state and show a fallback message. |