Giftvane sells a gift card or gift voucher as an ordinary WooCommerce product. Tick the “Gift card” box on any product and set its price to the card value. When the order is marked complete, the plugin generates a unique store credit code worth that price, records its balance in its own table, and emails the code to the buyer’s order email address.
To spend a card, the customer enters the code in a field on the checkout. The balance is applied as a discount on that order. If the order costs less than the card is worth, the leftover stays on the code for a later purchase, so one card can cover several orders until it runs out.
The buyer also sees the code(s) their order issued on the order-confirmation page and in their WooCommerce order emails, so they have the code in hand without hunting through their inbox.
The code is built and tracked on GitHub. Source and bug reports: github.com/wppoland/plogins-giftcards
This plugin does not connect to, send data to, or rely on any external service, API or CDN. Everything runs on your own site. Gift-card codes and balances are stored in a single custom database table ({prefix}giftcards), the gift-card flag and any recipient address are kept in WooCommerce product and order-item meta (_giftcards_is_gift_card, _giftcards_recipient_email), and settings live in the giftcards_settings and giftcards_db_version options. The email carrying a code is delivered through your site’s own WooCommerce/WordPress mailer to the order’s billing address; no message or customer data leaves your server.
Giftvane is fully translatable and ships the giftvane.pot template. Translations are delivered by WordPress.org language packs from translate.wordpress.org, which is where Polish, German and Spanish are being contributed; the package itself carries no compiled translation files.