A certificate in Joom Donation is a PDF "thank you" document generated for a single donation. It is a built-in component feature (no separate plugin) and works the same way in Joomla 5 and Joomla 6. It is not an email, a receipt or an invoice. Receipts and invoices are controlled by the donation receipt settings in Configuration, and the confirmation emails are controlled by the email settings. A certificate must not be described to donors as a replacement for a tax receipt.
Three different things are involved:
| Item | What it is | Where you manage it |
|---|---|---|
| Certificate template | The design: HTML, CSS, page size and orientation. | Components → Joom Donation → Others → Certificates (the screen title is Certificate Templates) |
| Certificate | One PDF plus one database record, created for one donation record. | There is no administrator screen for issued certificates. |
| Donation record | A row in Donors. The certificate is linked to this row. | Donors (see Manage Donors) |
Before you start you need: at least one published template, a Campaign with certificates enabled and a template selected, and a donation that reaches the Paid state. The Certificates menu item is part of the component's own administrator menu (under Others), so no plugin is needed; if it is missing, update/reinstall the component so the menu is rebuilt.
PREVIEW). Save before previewing, and always test with real campaign settings too.| Setting | What it controls | Where it takes effect |
|---|---|---|
| Title | Name shown in the list and in the campaign's template drop-down. | Administrator only |
| Published | Only published templates appear in the campaign drop-down and can be used to generate a certificate. | Campaign form; certificate generation |
| Page Size | A4 or Letter. | PDF generated for new certificates and previews |
| Orientation | Portrait or Landscape. | PDF generated for new certificates and previews |
| HTML Content | The body of the PDF, with placeholders. | |
| CSS Styles | CSS added before the HTML. Placeholders also work here. | |
| Logo, Signature, Background Image | JPG, PNG or GIF uploads stored under media/com_jdonation/certificates/templates. |
See the note below |
Images: at the time of writing, the certificate builder does not insert the uploaded logo, signature or background into the PDF, and the {organization_logo_url} and {signature_image_url} placeholders are replaced with empty text. Put any graphics directly in the HTML (for example an <img> with an absolute URL) and check the result with Preview. The PDF is created with TCPDF, so only simple HTML and CSS are reliable.
Placeholders are written in curly braces and are replaced in both HTML and CSS. Email placeholders such as [DONOR_NAME] do not work in templates. Unknown placeholders are left as typed.
| Placeholder | Source |
|---|---|
{certificate_code} |
Random 24-character code generated for the certificate |
{donation_id} |
ID of the donation record |
{donor_name} |
First and last name; the email address if both are empty; Anonymous if the campaign option Show Donor Name on Certificate is No or the donation is marked anonymous (Anonymous donation / hide donor) |
{donation_amount} |
Campaign currency symbol (or the configured symbol) followed by the amount with two decimals |
{donation_currency} |
Campaign currency, or the configured currency |
{donation_date} |
The donation's payment date, formatted like "March 5, 2025" |
{campaign_title}, {campaign_id} |
Campaign of the donation |
{organization_name}, {site_name} |
Joomla site name |
{site_url} |
Site root URL |
{verify_url} |
Public verification link containing the certificate code |
Minimal example:
<div style="text-align:center">
<h1>Certificate of Appreciation</h1>
<p>Presented to <strong>{donor_name}</strong></p>
<p>for a donation of {donation_amount} to {campaign_title} on {donation_date}.</p>
<p style="font-size:10px">Code {certificate_code} · Verify: {verify_url}</p>
</div>
Certificates are enabled per campaign. There is no global switch and no automatic default template.
Terms used below:
published = 1) and its campaign has certificates enabled with a published template. The generator itself does not test the paid state; the calling code does.media/com_jdonation/certificates/ and a record is saved with a code. Only one certificate per donation is ever created; if one exists, nothing new is made.| Donation scenario | When eligible | How the certificate is generated | How the donor receives it |
|---|---|---|---|
| Online payment succeeds (gateways that use the standard payment-success routine, e.g. Stripe, PayPal, Paystack, Square) | When the gateway confirms payment and the record becomes Paid | Immediately in the payment-success routine, before the confirmation emails | Separate certificate email if Send Certificate via Email is Yes; the confirmation email also attaches an existing certificate; download if allowed |
| Offline payment (bank transfer, cash) submitted on the site | Not yet: the record stays Pending/unpaid and no certificate exists | Nothing is generated at submission | None until the record is paid |
| Offline record changed from Pending to Paid by an administrator (edit and save as Paid, or the Publish toolbar action) | When changed to Paid | Immediately, if the record was previously unpaid | Separate certificate email if enabled, plus the "offline payment received" email, which attaches the certificate |
| Record added manually in Donors and saved as Paid | On save | On save (after the new-record emails have been prepared, so the first confirmation email may not contain it) | Separate certificate email if enabled; download if allowed |
| Record added manually as unpaid | Not yet | Nothing | None |
| Recurring renewal | Only where the gateway creates a new paid record for the renewal through the standard routine (verified in the Stripe code); each such record gets its own certificate | Same as online payment | Same as online payment |
| Donor opens Donation History or the donor's own donation list | Paid record with certificates and download enabled and no certificate yet | Created on demand when the page is viewed | Download link on that page |
Other gateways or custom flows that do not use the standard routine will not generate certificates at payment time. Check them with a test donation.
There is no screen, button or toolbar action for issuing, regenerating, downloading, resending or revoking a certificate for a donor from the administrator. What exists:
Administrator
download_count are stored in the #__jd_certificates table; there is no administrator list to search them.Donor
Certificates are stored PDFs. They are created once and are not rebuilt from current data.
One shared template
{verify_url} link.Template for one campaign
Offline donation
Donor cannot find the certificate
certificate_<code>.pdf exists in media/com_jdonation/certificates/ and the folder is writable by PHP. Errors during creation appear as Joomla messages ("Error generating certificate" / "Error generating PDF"). If a certificate already exists for the donation, no second one is created even after template changes.Use fake donor names and test email addresses when verifying. Never publish a real certificate link or code in documentation.