Edit Payment Method
Inline - Field Level Validations
This document provides a detailed reference for validation rules and error messages related to editing a payment method in the Convenient Checkout UI. It covers field-level validations and the corresponding error messages to help ensure proper input handling and user guidance.
- Bank Account
- Card
| Field Name | Validation Rules | Error Messages |
|---|---|---|
| Name on Account | 1. This field is required. 2. Must contain only alphabets and special characters. | 1. Name on account is required. 2. Name on account is invalid. Please make sure name field includes alphabet and special characters only. |
| Nickname | 1. Must only contain alphanumeric characters and spaces, and must not exceed 30 characters. 2. Must not contain the account number. | 1. Enter a valid bank account nickname. 2. Please make sure that the nickname field doesn't contain a bank account number. |
| Field Name | Validation Rules | Error Messages |
|---|---|---|
| Name on Card | 1. This field is required. 2. Must not contain card numbers. | 1. Name on card is required. 2. Please make sure that the name field doesn't contain a card number. |
| Expiration | 1. This field is required. 2. Must be exactly 4 digits (MM/YY format). 3. Year cannot be more than 50 years in the future. 4. Year cannot be in the past. 5. Month/Year combination cannot be in the past. | 1. Expiration is required. 2. Expiration date is incomplete. 3. Expiration year is invalid. 4. Expiration year is in the past. 5. Expiration date is in the past. |
| ZIP Code | 1. This field is required. 2. Must be at least 5 characters long. | 1. ZIP code is required. 2. ZIP code is incomplete. |
| Card Nickname | 1. Must contain only valid characters (alphanumeric and spaces). 2. Must not contain card numbers. | 1. Please enter a valid card nickname. 2. Please make sure that the card nickname field doesn't contain a card number. |