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
- Create a gift card type at
/admin/commerce/config/giftcard_types. - 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
- Create a new gift card product variation type. On the add screen check the "Allows to buy gift cards" box in the Trait section.
- 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.
- Add a new product for the gift card(s) using the gift card product type you just made.
- Add variations for the gift card(s) you want available on the product.
- 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.
Supporting organizations:
Development
Development, Maintenance
proudly helped to improve this module for the Drupal community
Maintenance and improvements
Project information
- Project categories: E-commerce
- Ecosystem: Commerce Core
915 sites report using this module
- Created by mglaman on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.
Releases
2.0.0-alpha2
released 18 October 2024
Works with Drupal: ^10.3 || ^11
Install:
Development version: 2.x-dev updated 14 May 2026 at 18:13 UTC










