=== SSIP Verify — Tutor LMS Sync ===
Contributors: ssip
Tags: tutor lms, certificates, competency, training, ssip verify
Requires at least: 5.6
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later

Automatically push Tutor LMS course-completion certificates from your
organisation into the SSIP Verify competency platform.

== Description ==

SSIP Verify — Tutor LMS Sync connects the certificates issued by your Tutor LMS
courses to the SSIP Verify platform, where they become searchable and verifiable
alongside certificates from other approved sources.

The plugin reads Tutor LMS course completions (stored by Tutor LMS in the
WordPress comments table) and sends each one to the SSIP Verify Certificate
Ingestion API. No extra database tables are created.

Features:

* Automatic sync the moment a student completes a course.
* Daily catch-up sync of all completions.
* One-click "Sync all certificates now" and "Test connection" buttons.
* Configurable certificate validity window (Tutor LMS records completion, not expiry).
* Optional links to the real Tutor certificate as evidence.
* Optional shared worker reference so the same person groups across sources.

== Installation ==

1. In SSIP Verify, go to **API & Integrations** and create an API key.
2. Upload this plugin ZIP under **Plugins → Add New → Upload Plugin**, then activate it.
3. Go to **Settings → SSIP Verify Sync**.
4. Paste your API key, adjust the certificate validity window, and save.
5. Click **Sync all certificates now** to push existing completions.

New completions then sync automatically.

== Frequently Asked Questions ==

= Does this require Tutor LMS? =
Yes. It reads Tutor LMS course-completion records and their certificate hashes.

= Where do expiry dates come from? =
Tutor LMS stores a completion date but not an expiry. The plugin sets the expiry
to the completion date plus the validity window you configure (default 36 months).

== Changelog ==

= 1.0.0 =
* Initial release.
