Gift Cards (Gift Vouchers and Packages) (WooCommerce Supported) changelog
By Codemenschen, on WordPress.org since 2018. 1,000+ active installs.
120 tagged releases, newest first. Dates are when each release was tagged in SVN. Notes come from the plugin's readme, which may not list every release.
-
- Fix: The “Voucher Expiry Value” of a gift card was filled in with 60 days, which replaced the number of days from Settings as soon as the gift card was saved. The field now starts empty, and an empty field uses the value from Settings. The sample gift cards follow Settings too.
- Note: Gift cards you have already saved keep their own value. If yours say 60 and you want the value from Settings, empty the field and click Update.
-
- Tweak: The Gift Card form loads the Poppins font from the plugin instead of Google Fonts, so buyers’ browsers no longer contact Google. The cards look the same.
- Tweak: The forms no longer load PayPal’s JavaScript SDK, which the plugin never used. In test mode it showed an error in the browser console. PayPal payments work as before.
- Fix: Removed two PHP warnings on WooCommerce orders that issue gift vouchers (“Undefined variable $return” and “Attempt to read property email on array”).
- Fix: A WooCommerce order without a gift voucher product no longer sends again the emails (with PDFs) of the gift vouchers bought through the plugin’s own forms when it is completed.
- Fix: Removed an “Array to string conversion” PHP warning from the plugin’s admin notice.
- Fix: Removed a PHP 8.1 deprecation notice from the voucher and item preview pages, and a PHP warning from Stripe payments on the Gift Items form. Same behaviour.
-
- Security: The stock voucher templates for PDFs are now loaded from the plugin’s own file storage. The old storage location could be changed by others. Your vouchers look the same and no settings need to change.
-
- Tweak: Tested with WordPress 7.2.
- Tweak: The gift voucher, gift card and gift item forms no longer load a 740 KB copy of Stripe.js that they never used. Stripe payments open Stripe’s checkout page as before.
- Tweak: The plugin scripts no longer use jQuery calls that WordPress 7.2 reports as deprecated (jQuery Migrate 3.6), ahead of jQuery 4. The forms work as before.
- Tweak: Removed an unused bundled copy of jQuery UI.
- Tweak: Requires at least WordPress 5.3, the oldest version whose functions the plugin already used.
-
- Fix: When Stripe refused to create the checkout, buyers saw “Stripe session creation failed.” and the reason was lost. The reason is now written to the PHP error log, and a logged-in administrator testing the form sees it in the message, for example “Invalid API Key provided”. Buyers still see the short message. Stripe keys are masked in both places.
-
- Fix: The order details on the Overview step of the [wpgv_giftvoucher] form could look empty. The Voucher Text Color, meant for the voucher card, also coloured these details, so a white card text hid them on a white page. It now only colours the voucher card.
- Tweak: The “Select number format” options are now named after the decimal mark, “1,000.00 (decimal point)” and “1.000,00 (decimal comma)”, so the right one is easier to pick. Saved settings stay as they are.
- Tweak: Unpaid orders now read “Not Paid” instead of “Not Pay” in the order list, order details, receipt and the {payment_status} email tag. Only the wording changed; the stored status is the same.
-
- Fix: With no active voucher template, the [wpgv_giftvoucher] form opened with an empty first step and refused the buyer at the last step with “This voucher is no longer available.” Buyers now see a short message instead of the form, and administrators also see why and where to add a gift voucher.
-
- Fix: On phones, the step blocks of the [wpgv_giftvoucher] and [wpgv_giftcard] forms filled much of the first screen, so buyers had to scroll past them to reach the form. The steps are now one short row: the current step shows its number and name, the others their number.
-
- Fix: PayPal’s checkout page could appear in a language neither the shop nor the buyer uses, because the plugin sent no language with the order. It now follows your site’s language. To choose another one use the wpgv_paypal_locale filter, or return an empty value to leave it to PayPal.
- Fix: An order form left open for more than a day, served from a page cache, or opened before logging in or out stopped at the last step with “Invalid security token”. The form now gets a new token by itself and the order goes through.
- Fix: On the Gift Items and Gift Card forms, pressing Pay again after a failed payment added another order each time. Pay now stays locked after a failed payment and the buyer is asked to reload the page.
- Fix: On the Gift Voucher form, a request that was refused without creating an order, such as an invalid code, locked the whole form. It now stays usable.
- Fix: Regenerate PDF stopped with “Template id is invalid for standard voucher.” on Gift Item orders made with Add Order. It now rebuilds their PDF. The same error on older Gift Item and WooCommerce orders is fixed too. Nothing needs to be changed on existing orders.
-
- New: Gift Cards > Add Order. Create a paid gift voucher or gift item order by hand, for example for a sale at the counter, a present or a refund. The voucher gets its code and PDF straight away and can be emailed to the recipient, the buyer and your shop in one step. You can also set your own voucher code and expiry date.
- Update: The admin script now carries the plugin version, so browsers load the new version after an update.
- Fix: A gift card bought through the [wpgv_giftcard] form could get a PDF showing a different voucher code from the one saved with the order, so the printed code could not be redeemed. The PDF now always shows the order’s code. For gift cards sold with an earlier version, open the order in Gift Cards > Orders, use Regenerate PDF and send the voucher again.
- Fix: Regenerate PDF on a gift card order drew the template’s sample text (code 1234567812345678, $250, “FIRST & LAST NAME”) without the card picture. It now draws the card the way the [wpgv_giftcard] form does, with the order’s code, names, value, message and expiry date.
- Fix: The “Check Voucher Balance” tab in WooCommerce My Account was empty. It now shows the form, and customers can check the vouchers they bought or received.
- Fix: Bulk Delete on the old Voucher Templates page now checks that the request comes from the page itself, and a template that orders still use is switched off instead of deleted.
And 22 more notes.
-
- Fix: WooCommerce: the “New Voucher Order Received” notice for a Gift Voucher product went to the customer’s billing address. It now goes to the shop’s sender email, like the notices of the plugin’s own order forms.
- Fix: WooCommerce: when a second voucher was applied to a cart that the first voucher already covered in full, checkout stopped with “There was an error processing your order.” The unused voucher is now left untouched and the order goes through.
- Fix: WooCommerce product editor: an amount just added on the Gift Voucher tab could not be removed until the page was reloaded. It can now be removed straight away.
- Fix: When a site upgrades from a version before 4.8.0 and has more than 50 voucher templates, all of them are now moved to the Gift Cards list. Before, only the first 50 were moved.
-
- Fix: Stripe checkout now works on Stripe accounts that use Stripe’s newest API version (2026-09-30), the default for new accounts. On those accounts the checkout stopped with “Stripe session creation failed.” The plugin now makes all its Stripe requests with a fixed API version, so checkout behaves the same on every account. No settings need to change.
-
- Update: Orders are no longer removed automatically. An order whose payment could not be started, or whose buyer came back through the payment Cancel page, now stays in Gift Cards > Orders with the payment status “Pending”, and the reason is noted in its history. Orders that remain unpaid are kept until an admin deletes them; the hourly removal of orders left unpaid for 24 hours has been retired.
-
- Fix: The form of the [wpgv-check-voucher-balance] shortcode appeared above the page header on block themes such as Twenty Twenty-Five. It now shows inside the page content.
- Fix: The order list showed the remaining balance with six decimals, for example “€ 150.000000”. It now shows “€ 150”. The voucher code also stays on one line.
- Update: New plugin description and screenshots for the current version.
-
- Fix: After paying with Stripe, some buyers came back to “This URL is invalid. You can not access this page directly.” and received no confirmation email, although the payment went through. This started in 4.7.0. The order key checked on the success page was sometimes saved on a different post, when the voucher’s ID matched the ID of a post revision. The key and the other order data are now always saved on the voucher itself.
-
- Fix: A new installation now saves the Currency Symbol, Currency Position, the email shown in the PDF footer, the Voucher Expiry Type and the Shipping Methods correctly. Each was being stored as 0, which left prices with no currency symbol, expiry dates measured against a unit that does not exist, and no shipping options for customers to pick from.
- Fix: Sites installed before this version still hold those values, and are not changed for you. The Gift Cards screens now name which settings need filling in and link you to them.
- Update: Purchased Voucher Codes and Purchased Items are now a single Orders list with a Type column and a Type filter – Gift Card, Gift Voucher or Gift Item – so finding an order no longer means remembering which tab it was filed under. Links to the old Purchased Items tab keep working, as a filter.
- Improvement: Choosing a gift card design is clearer. The six designs are grouped into Landscape and Portrait, laid out as even tiles, the chosen one is marked with a check, and the chooser can be used with the keyboard.
- Update: The button in Settings now sets up the plugin’s pages and adds sample content with them – a gift card for each of the six templates, a gift item and a gift voucher – so those pages open as a working form rather than an empty one on a new site. Edit or delete the samples once you have your own.
- Feature: A gift item can now be sold at an amount the customer chooses. Leave Item Price empty and the gift items page shows “Enter your amount” for that item; the customer types the amount when buying, within the Min and Max Voucher Value from Settings, and the voucher is issued for exactly that amount. Items with a price work as before.
And 2 more notes.
-
- Update: Gift Items, Gift Cards and Voucher Templates are now created and managed from one list under a single Gift Cards menu. Add New Gift Card opens one screen where you pick the Type, and the fields change to match. Your existing records, their categories and their settings are moved across automatically and keep working; nothing is deleted.
- Update: The menu is down to five entries – All Gift Cards, Add New Gift Card, Categories, Orders and Settings. The separate Voucher Templates screen and the second Categories entry are gone; everything they did now happens in the unified list.
- Update: Gift item and gift card categories are now one shared list of categories. Every category you had, and every record filed under it, is carried over unchanged, and each order form still offers only the categories that apply to it.
- Update: A record’s Type is locked once orders have been placed with it, because those orders’ PDFs are rebuilt from it. To offer the same thing as a different type, create a new record and leave the original in place so your order history stays intact.
- Breaking: Direct links to a gift card template page (addresses beginning /voucher_template/) no longer open. Those pages only ever showed the template’s name and no other content, and they were appearing in your site’s own search results. Gift card templates are still used exactly as before through the [wpgv_giftcard] shortcode.
- Breaking: Editing Gift Items now needs the same permission level as editing Gift Cards. Users with an Author or Contributor role who could previously edit gift items will no longer be able to; Editors and Administrators are unaffected.
And 15 more notes.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.