When editing an address marked as Verified, it’s important to understand how the system handles verification status. By default, any modification to a Verified address will cause its status to revert to Not Checked. This behavior is intentional and helps maintain data integrity during address verification.
The address verification tool sets an address status to:
Verified + a Zero-Width Space (ZWSP) character (U+200B)
This invisible character allows the system to distinguish between:
- An address that was already verified before the current transaction.
- An address that was verified as part of the current transaction.
Trigger Behavior
When the trigger runs:
- It checks for the ZWSP character.
- If present, it knows the address has already been verified in the current context.
- It removes the ZWSP and does not revert the status to Not Checked.
How to Preserve ‘Verified’ Status After Editing
To retain the Verified status after editing an address:
- Check if the status is Verified.
- Append a Zero-Width Space (U+200B) character to the end of the status.
- Save the updated record.
This ensures the verification system recognizes the address as already verified and prevents the status from resetting.
Example
Before saving an updated verified address:
Status: “Verified” ← Includes ZWSP (U+200B) at the end
Without the ZWSP, the trigger assumes it’s an outdated verification and will reset the status.
