How to set up the verification portal for implementation
Overview
The document will help an implementer make changes to DIVOC’s verification component in line with any changes made to the certificate. It could include changes in the QR code section of the certificate or the logo, among others.
This section will cover the steps to update the verification component by configuring:
Verification portal home page
Verification confirmation page
Prerequisite: Get details on functions used for certificate verification
The user will be directed to the verification page according to the route defined in this file:
2. You can configure the timeout period for the camera to read the QR code in config.CERTIFICATE_SCAN_TIMEOUT.
3. If the camera is unable to read the QR code content, the timeout can be set to retry.
4. The QR code scan is triggered from the ‘VerifyCertificate’ method. Once the QR code is read by the application, it is unzipped using the jsZip library.
Verification portal home page
How to update the verification page:
The required UI changes, including messaging and branding, can be configured on this file.
You can refer to this file as an example of a country-specific configuration (https://verify.icmr.org.in/).
Verification confirmation page
How to update the vaccination confirmation details:
Example: Include the beneficiary’s parent name as a mandatory field in the verification confirmation page.
Add a parameter in the function “vaccinationContextV2” to set the schema.
Add recipientParentName in the certificate variable inside the function createCertificate.
Build and deploy your changes.
Click here to know what information is included in the DIVOC certificate.
Note:
The ‘recipientParentName’ should match with the key in the QR code Json file available in the main.js.
To remove any value (such as “vaccine type”) from the UI screen, you can remove that parameter in the certification field.
Last updated