Field validation
An overview of Field validation offered by Smart Checkout.
There are two categories of validation available on Smart Checkout, Inline and On Submit, as described below:
Inline validation
This type of validation occurs instantly as the customer moves between fields, but only if text has been entered.
- Email address — has to be a valid email address
- Card number — has to be a valid card number
- Expiration date — past dates are not allowed
- CVV — is required for all cards except for Bancontact cards. If the customer has provided an AMEX card, the CVV has to be four digits long, otherwise it has to be three digits long
- Amount (if editable by the customer, i.e. for Quick Pay) — has to be a valid amount, greater than zero
- Cardholder name — has to be more than one character long
On Submit validation
This type of validation occurs once the customer has clicked on the button to make the payment.
- All mandatory fields must be filled (cannot remain blank)
Get Support
If you would like to integrate with Viva, or if you have any queries about our products and solutions, please see our Contact & Support page to see how we can help!