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 widget mode and use case to help developers understand what the widget will display under various conditions.
Structure
| Mode | Use Case / Page |
|---|---|
| Payment Mode | Guest Pay |
| Payment Mode | One Time Pay |
| Payment Mode | Pay and Save |
| Wallet Mode | Add Payment Method |
| Wallet Mode | Edit Payment Method |
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).
- Form Level Validations: Messages triggered at the form-submission level for cross-field or server-side scenarios (e.g., duplicate payment method).
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