Drupal is a registered trademark of Dries Buytaert
Release: Module Filter 6.0.0 Major update available for module module_filter (6.0.0). Release: User Restrictions 2.1.1 Minor update available for module user_restrictions (2.1.1). Release: Opensolr Search 4.2.2 Minor update available for module opensolr_search (4.2.2). Release: Media Entity Calameo 2.0.0 Major update available for module media_entity_calameo (2.0.0). Release: Monster Menus 9.5.2 Minor update available for module monster_menus (9.5.2). Release: Monolog Datadog 3.0.2 Minor update available for module monolog_datadog (3.0.2). Release: Migrate Cron Scheduler 2.1.0 Minor update available for module migrate_cs (2.1.0). Release: Webform Ban 1.2.5 Minor update available for module webform_ban (1.2.5). Usage Milestone: Account field split Module account_field_split crossed 10,000 active installs. Module Revived: Disable Login Page 1.1.4 Module disable_login updated after 8 months of inactivity (1.1.4).

This module adds on-site gift card functionality to Drupal Commerce, allowing customers and administrators to create, manage, and redeem gift cards. Customers can purchase gift cards and use them for partial or full payment during checkout, while administrators can generate, enable/disable, and track gift card balances and transactions.

The Commerce Gift Card module provides a complete on-site gift card solution for Drupal Commerce. The gift cards can be used to pay for orders both by customers and administrative staff.

Features

Customer facing

  • Customers can purchase gift cards as a product.
  • Customers can redeem gift cards during checkout
  • Gift cards can be used on multiple orders given enough balance.
  • Support for partial payments with a gift card. The remaining balance is paid via standard payment methods.
  • Support for redeeming multiple gift cards to pay for an order.

Administrative

  • Create and manage gift cards, their transactions, and their balances.
  • Generate gift cards in bulk.
  • Enable/disable individual gift cards.
  • Refund balance back to a used gift card.
  • Each gift card transaction is recorded in a transaction log.
  • Supports multiple gift card types with different fields and configuration.
  • Limit gift cards to specific stores.

Requirements

This module requires the following modules:

Installation

Install as you would normally install a contributed Drupal module. For further
information, see
Installing Drupal Modules

Configuration

  1. Create a gift card type at /admin/commerce/config/giftcard_types.
  2. Ensure the redemption pane is placed in your checkout flow. It will automatically be added to your default checkout flow but not any other checkout flows.

Creating a purchasable gift card

  1. Create a new gift card product variation type. On the add screen check the "Allows to buy gift cards" box in the Trait section.
  2. Create a new gift card product type. On the add screen change "Product variation type" to "Use existing" and check the box next to your gift card variation type.
  3. Add a new product for the gift card(s) using the gift card product type you just made.
  4. Add variations for the gift card(s) you want available on the product.
  5. On the add variation form select your desired "Gift card type" and enter the "Gift card amount".

Development

See #3109691: [META] Gift cards for information about why this was not a core commerce module.

Activity

Tracked releases
1
Tracked since
May 2026
Latest release
2 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
2.0.0-alpha3 Pre-release May 28, 2026