Validate
Validation widgets ensure that specific conditions, such as card validation, are met before proceeding with further actions.
| Widget Name | Purpose | 
|---|---|
| validate_card | Ensures the user provides a valid card number before proceeding. | 
| validate_pin | Ensures the user enters a correct PIN before performing an action. | 
Widget for Validating Card
Example Configuration and Widget Image for Requiring Card Validation Before PIN Setup:
widget = {
    config: {
        token: "your-secure-token",
        require: "validate_card",
        main: "set_pin"
    }
}; 
Widget for Validating PIN
Example Configuration and Widget Image for Requiring PIN Validation Before Payment Processing:
widget = {
    config: {
        token: "your-secure-token",
        require: "validate_pin",
        payment: "external_payment"
    }
};
Updated about 2 months ago
