স্কিপ করে মূল কন্টেন্ট এ যান

Certificates

Automatically generate, distribute, and verify PDF certificates for exam completions.

Overview

Testify's certificate system generates professional PDF certificates for students who complete online exams. Certificates are created automatically after exam submission, include a unique verification code with QR code, and can be verified publicly by anyone with the verification URL. Teachers can generate certificates in bulk for an entire exam, resend certificate emails, and set minimum score thresholds.

Certificates are built using PDFKit and include student name, exam title, score, percentage, rank, total participants, and a public verification link.

Certificate Example

How It Works

Automatic Generation

When a student submits an exam:

  1. The system automatically generates a certificate for the attempt.
  2. A unique verification code is created in the format CERT-XXXXXXXXXXXX (12 hex characters).
  3. A PDF is generated with the student's details, score, rank among all participants, and a QR code linking to the verification page.
  4. The certificate is stored on the server and a record is saved in the database.
  5. If the student has an email on file, the certificate is automatically emailed to them.

No teacher action is required for individual certificate generation -- it happens automatically.

Bulk Generation

Teachers and administrators can generate certificates for all qualifying students of an exam at once:

  1. Navigate to the exam's management page.
  2. Click Generate Certificates.
  3. Optionally set a minimum percentage threshold (e.g., only students scoring 40% or above receive certificates).
  4. Choose a template (default template is used if none specified).
  5. Click Generate -- certificates are created for all qualifying submitted attempts.

Viewing Your Certificates

Students can view all their earned certificates:

  1. Go to My Certificates from the student dashboard.
  2. See a list of all certificates with exam title, score, percentage, rank, and issue date.
  3. Click any certificate to view details or download the PDF.

My Certificates

Public Verification

Anyone can verify a certificate's authenticity:

  1. Visit the verification URL: /certificate/verify/CERT-XXXXXXXXXXXX.
  2. The page displays the certificate details if valid:
    • Student name.
    • Exam title.
    • Score and percentage.
    • Rank out of total participants.
    • Issue date.
    • Verification code.
  3. If the certificate code is invalid, an error message is shown.

No login is required to verify a certificate -- the verification page is fully public.

Certificate Verification Page

Downloading Certificates

Certificates can be downloaded as PDF files:

  • From the My Certificates page, click the download button.
  • From the verification page, click the download link.
  • The PDF file is named using the verification code (e.g., CERT-1A2B3C4D5E6F.pdf).

Resending Certificate Emails

If a student did not receive their certificate email:

  1. Teachers or administrators navigate to the exam's certificate list.
  2. Find the student's certificate.
  3. Click Resend Email.
  4. The system re-sends the certificate email with the PDF attachment and verification link.

Key Features

Certificate Data

Each certificate contains:

FieldDescription
Student NameFrom the exam attempt or user profile
Exam TitleThe title of the completed exam
ScoreMarks obtained out of total marks
PercentageScore as a percentage
RankStudent's rank among all participants
Total ParticipantsNumber of students who took the exam
Issue DateWhen the certificate was generated
Verification CodeUnique CERT- prefixed code
QR CodeLinks directly to the verification page

PDF Generation

Certificates are generated using PDFKit with:

  • Professional layout and formatting.
  • QR code generated using the qrcode library.
  • Verification URL embedded in the QR code.
  • Stored in /uploads/certificates/ on the server.

Email Delivery

Certificate emails are sent via the platform's email service and include:

  • Student name and exam title.
  • Score and percentage.
  • Rank information.
  • Verification URL as a clickable link.
  • PDF certificate as an attachment (when pdf_path is available).

Role-Based Access

RoleCapabilities
StudentView own certificates, download PDFs, access verification page
TeacherGenerate certificates for exams, view exam certificate lists, resend emails
Admin / Org AdminAll teacher capabilities plus organization-wide certificate management
Public (no login)Verify any certificate using the verification code

Tips and Best Practices

  • Set meaningful minimum percentages -- a 0% threshold means everyone gets a certificate regardless of performance, which may reduce the perceived value.
  • Use certificate verification URLs in official communications to add credibility.
  • Encourage students to share their verification links on social media or portfolios.
  • Check email delivery -- if students report missing certificate emails, use the resend function.
  • Generate bulk certificates after all students have submitted, not during the exam window.
  • Online Exams -- certificates are generated from exam attempts.
  • Notifications -- students receive notifications when certificates are generated.
  • Classroom -- certificates respect class and organization boundaries.