Checking access…

Skip to main content
Audience: Consumers, CCG Platform Engineers

Error Handling

Overview​

This section provides a comprehensive reference for all UI validation rules and error messages in the Convenient Checkout (CCG) widget. Error messages are organized by screen, not by session mode β€” several session modes can land a user on the same screen, and that screen's validations don't change based on which mode led there.

Structure​

ScreenPageReached from
Add Payment MethodAdd Payment Method ScreenGuest Pay, One Time Pay, Pay and Save, and WALLET mode
Edit Payment MethodEdit Payment Method ScreenWALLET mode
One page, two contexts

Field-level validation for Add Payment Method is identical regardless of how the screen was reached (one shared validator, not two) β€” so it's documented once. Only the form-level (decline/processing) messages differ by context β€” shown as two sub-sections on that page.

Validation Types​

Each use case doc covers two types of validations:

  • Field Level Validations: Rules and messages triggered when a specific input field fails validation (e.g., required field, invalid format). This is the widget's own client-side validation β€” authoritative.
  • Form Level Validations: Messages triggered at the form-submission level for cross-field or server-side scenarios (e.g., duplicate payment method). These are illustrative, not an authoritative catalog β€” the widget doesn't define a fixed set of decline-reason messages; it displays whatever message the payment processor returns. Don't write matching logic against the exact strings shown on either page β€” handle the error generically instead.

Payment Methods Covered​

Each page documents validations for the following payment method types:

  • Bank Account (ACH) β€” including telephonic entry where applicable
  • Card β€” including telephonic entry where applicable