PDF Gift Cards for WooCommerce
Automatically generate personalized PDF gift cards for WooCommerce orders with a Drag & Drop template editor.
Not scanned yet
WordPress plugin
50 installs
Install in
PDF Gift Card lets you create beautiful, fully personalized PDF gift cards for your WooCommerce store.
It lets store owners upload their own PDF design and dynamically populate it with real order data — no coding required.
How it works
- Upload your PDF design (created in Canva, Illustrator, Affinity Designer, etc.)
- Drag & drop dynamic fields onto your template
- Associate the template with any WooCommerce product
- When an order is placed, the PDF is automatically generated and attached to the confirmation email
Available dynamic fields
- Product name
- Customer name
- Recipient name
- Personalized message
- Purchase date
- Expiry date
- Order number
- Unique voucher code
- Price
- Product image (Pro)
- Site logo (Pro)
- QR Code (Pro)
What’s included in the Free plan
- 1 template
- All text fields
- PDF preview with real product data
- Product associations
- Multilingual admin: English, French, German, Spanish, Dutch
Upgrade to Pro
- Unlimited templates
- Image fields (logo, product photo, QR code)
- Plugin language selector
- Priority email support
- Automatic updates
Multilingual support
The plugin interface is fully translated into:
French, English, German (Deutsch), Spanish (Espanol), Dutch (Nederlands)
Security & GDPR
- Generated PDFs stored in a protected, non-public directory
- Configurable auto-deletion of PDFs after N days
- No personal data stored beyond what WooCommerce already holds
Requirements
- WordPress 6.0+
- WooCommerce 8.0+
- PHP 8.0+
Written by Joobi from the project's own listing. See the source page
29 Nov 2026
Version 1.1.8 released. Not scanned yet.
1.1.8 — 2026-11-29
- New: Optional “delivery date” field on the product page (Settings › Front-office fields). The buyer still receives the PDF right after the purchase; the chosen date can be printed on the card and, if you wish, the expiry date is counted from it instead of from the purchase date
- New: “Delivery date” field in the template editor
- Improved: The recipient, message and delivery date now show with their labels on the order screen instead of internal keys
- New: Developer filters
ksgc_expiry_start_date,ksgc_expiry_dateandksgc_field_valuesto set the expiry date or any value of the card per order item, without editing the plugin
1.1.7 — 2026-10-28
- New: Gift card validity can now end on 31 December of the year of purchase plus a chosen number of years. Several countries count the statutory validity from the end of the year of purchase rather than from the purchase date — in Germany the three-year limitation period starts on 31 December of the year of sale (§ 199 BGB), so “36 months” would expire a card bought in October two months too early
- New: Validity in months now goes up to 60 (previously capped at 24)
1.1.6 — 2026-10-27
- Fix: Customers who checked out as guests always got “Access denied” when clicking the download button on the order confirmation page. Downloads are now authorised by the WooCommerce order key, the same way guest order pages and WooCommerce downloads are
- Fix: The download handler called an admin-only function, so on the shop side the PDF response ended in a fatal error after the PDF headers had already been sent — the browser received an unreadable file (“Safari cannot open the document”)
- Fix: System Information reported FPDI / FPDF and QR Code as missing even when the libraries were present, because the diagnostic ran before the autoloader was loaded
- Fix: The language selector was offered on the free plan although the setting only applies to Pro, silently doing nothing. It is now disabled and labelled as a Pro feature
- Fix: The “separate email” option was saved but never used anywhere. It is disabled until the feature ships
- Fix: A field drawn across the right edge of the template wrote outside the card; very narrow fields rendered one character per line
- Hardening: The PDF storage directory now also denies access under Apache 2.4 and blocks directory listing on Nginx
- Housekeeping: The daily cleanup task is now unscheduled when the plugin is deactivated
1.1.5 — 2026-10-27
- Fix: The “Get Pro” button led to the agency home page instead of the subscription page, leaving no way to start a trial or subscribe from the dashboard. It now opens the Freemius checkout, where the 14-day trial starts without a credit card
- Fix: Free plan limits were not enforced at all — image fields (site logo, product photo, QR code), the language override and the one-template cap were open to everyone. Templates and fields already in place keep working and keep generating cards; only new ones are now gated
- Fix: The free admin interface was pinned to English instead of following the WordPress locale, so the bundled French, German, Spanish and Dutch translations never showed
- Compatibility: Tested up to WordPress 7.1 and WooCommerce 11.2
1.1.4 — 2026-08-09
- Fix: Long text no longer overflows its field — a personalized message ran off the edge of the card instead of wrapping. Text fields now respect the width set in the editor and honour manual line breaks
1.1.3 — 2026-08-05
- Fix: The “Regenerate & Resend” button on the order screen did nothing — admin scripts were never loaded on the order edit screen (neither HPOS nor legacy storage), so the button had no JS handler at all
- Fix: No PDF was generated when an order went straight from “On hold” to “Completed” — the usual path for offline payments (bank transfer, cheque), which skips the “Processing” status a template is set to trigger on
- Fix: The PDF was missing from the order email — generation ran at priority 20, after WooCommerce sends its transactional emails at priority 10, so the file did not exist yet when the email went out
- Fix: Manual regeneration always resent the “Processing” email, even on a completed order
- Fix: The euro sign printed as “?” on the generated card, along with œ, typographic apostrophes and dashes — text was encoded to ISO-8859-1, while FPDF standard fonts expect WinAnsi (CP1252)
- Fix: The price field printed the line total, excluding tax and multiplied by quantity — a 50 € card ordered twice showed “100,00 €”. It now prints the unit price including tax
- Fix: An empty recipient name no longer passes: the error notice did not actually block the add-to-cart, so cards could be generated without a recipient
- Improvement: Clear, actionable message when the uploaded PDF cannot be read (1.5+ object compression, password protection) instead of a raw library error
1.1.2 — 2026-08-05
- Fix: Templates could not be saved on MySQL servers (“Error while saving”) — the templates table was never created because a LONGTEXT column had a DEFAULT value, which MySQL rejects (error 1101). Only MariaDB 10.2.1+ accepted it.
- Fix: dbDelta() could never apply schema updates — “CREATE TABLE IF NOT EXISTS” prevented it from detecting the table name
- Improvement: The schema version is now only recorded once the tables really exist, so a failed installation is retried instead of being silently marked as up to date
- Improvement: Admin notice and detailed SQL error message when the plugin tables are missing
1.1.1 — 2026-06-04
- Fix: Templates and data are never deleted on plugin uninstall
- Fix: DB migration (maybe_upgrade) now correctly runs on plugin update
- Fix: Editor upload button was non-functional due to a script timing issue
- Fix: PDF preview not rendering (PDF.js IIFE wrapper — import.meta syntax)
- Fix: Special characters and emoji icons corrupted in editor field list
1.1.0 — 2026-06-03
- Security: PDF filenames now use a random 24-character token (no longer guessable)
- Security: Temporary QR code files are now properly deleted after PDF generation
- Improvement: Error notification email subject now uses the site name dynamically
- Improvement: Upgraded PDF.js from 3.11.174 to 5.7.284 (bundled locally)
- Improvement: Replaced deprecated PHP filesystem functions with WP_Filesystem equivalents
- Fix: PHP syntax errors caused by escaped variables in admin class
- Fix: Removed load_plugin_textdomain() — auto-loaded since WordPress 4.6
- Compatibility: Tested up to WordPress 7.0 and WooCommerce 9.6
1.0.0 — 2026-05-14
- Initial release
29 May 2026Listed on Joobi from WordPress.org.
Follow this listing's changes (Atom feed)