Use Wrapped with the WooCommerce Gift Cards plugin

How to set up Wrapped with the paid WooCommerce Gift Cards extension, the XXXX-XXXX-XXXX-XXXX code format it requires, how gift card products, redemptions and balance changes sync, and how to test it.

Updated September 19, 2026

If your store already uses the paid WooCommerce Gift Cards extension, Wrapped can work through it: every Wrapped gift card is created as a WooCommerce gift card with the same code, and customers redeem it in WooCommerce's own gift card field at checkout. WooCommerce Gift Cards only accepts codes in the format XXXX-XXXX-XXXX-XXXX, so any gift card with a different code can't be created in WooCommerce. For most stores the free Wrapped Gift Card Redemption plugin is simpler (see Connect WooCommerce).

Before you start

  • Install and activate WooCommerce Gift Cards from woocommerce.com/products/gift-cards. Keep it up to date. Wrapped uses the gift card features it adds to the WooCommerce API.
  • Connect your store and turn the sales channel on (see Connect WooCommerce, step 1).
  • Check your code format (below).

Gift card codes must be XXXX-XXXX-XXXX-XXXX

WooCommerce Gift Cards codes are 16 letters or numbers in four groups of four, separated by dashes, for example 5QY5-E4AX-TAVR-LCPK. Wrapped's default code format is the same. Check yours in Settings › Gift card rules › Code format (open):

SettingUse
Length16
Add a dash every four charactersOn
PrefixEmpty. A prefix makes the code longer than WooCommerce allows.
Characters to useLetters and numbers only, or leave empty for the default set

Changing the code format only affects new gift cards. Cards with other codes, such as imported physical cards, stay in Wrapped and work in your other channels, but show a sync error for WooCommerce (see Fixing gift card sync errors).

Set up

    1. In Wrapped, go to Settings › Sales channels, and on your WooCommerce channel select Settings.
    2. Under Plugin, select WooCommerce Gift Cards, then select Save.
    3. Create a gift card product (below).
    4. Test it (below).

Create a gift card product

You can sell gift cards in either of two ways. Both create a Wrapped gift card that works in all your channels.

Option A: a WooCommerce Gift Cards product

    1. In WordPress, go to Products › Add New Product and choose Variable product.
    2. Tick Gift Card.
    3. Set the tax class to Zero rate.
    4. On the Attributes tab, add your gift card amounts, then generate the variations.
    5. Mark every variation Virtual and set its price.
    6. Publish the product.

WooCommerce Gift Cards generates the code. When the order is paid, Wrapped brings the card into Wrapped with that code, balance, recipient, sender and message.

Option B: a product with the wrapped_giftcard SKU

Create the product described in Connect WooCommerce, step 3. Wrapped generates the code using your code format, then creates the matching gift card in WooCommerce.

What syncs

What happensResult
A customer buys a gift card and the order is paid (Processing or Completed)The card is created in Wrapped and in your other channels
A customer redeems a gift card at checkout and the order is paidThe redemption is recorded in Wrapped and the new balance goes to your other channels
A gift card is issued in Wrapped or another channelWrapped creates it in WooCommerce Gift Cards with the same code
A balance changes in Wrapped or another channelWrapped deletes the WooCommerce gift card and creates a new one with the same code and the new balance
The order is CancelledGift cards bought on it are voided, and redemptions recorded for it are reversed
You change a balance directly in WooCommerceNot picked up. Adjust balances in Wrapped instead.

If a gift card has an expiry date, Wrapped passes it to WooCommerce, unless your gift card rules allow expired cards to be used.

Test it

    1. In Wrapped, go to Gift cards › All gift cards, select Issue gift card, and issue a small card. Copy its code.
    2. Wait a minute, then in WordPress go to Marketing › Gift Cards and search for the code. The card should be there with the balance you issued.
    3. Redeem it on a test order and check the balance goes down in Wrapped once the order is paid.
    4. Delete the test card in Wrapped ( menu › Delete gift card).

If the card doesn't appear in WooCommerce, open it in Wrapped and look for a sync error. The usual cause is a code that isn't in XXXX-XXXX-XXXX-XXXX format.

Common questions

Can I import the WooCommerce gift cards I already have?

Yes. The Wrapped team can import your active WooCommerce Gift Cards with a balance (see Getting help).

Why doesn't a gift card from my POS show in WooCommerce?

Its code probably isn't in XXXX-XXXX-XXXX-XXXX format, which WooCommerce Gift Cards requires. Check the card for a sync error. You can still redeem it in your other channels.

Should I switch to the Wrapped redemption plugin?

If you don't need other WooCommerce Gift Cards features, the Wrapped plugin avoids the code format limit and the extension's cost. Change Plugin in the channel's Settings, then install the plugin (see Connect WooCommerce).

Did this answer your question?