Gift Cards for SureCart with Balances and Wallet Passes.
GiftRocketWP adds gift cards to SureCart without using coupons as a workaround. Each card keeps its own balance, buyers see a live card preview, and you can deliver by email or as an Apple or Google Wallet pass.
A Real Gift Card, Not a Coupon Workaround
A gift card is prepaid stored value with a balance. A coupon is a discount. GiftRocketWP keeps gift cards in their own tables so your SureCart coupons stay separate.
Coupons used as gift cards
The usual workaround
-
✕
A crowded coupons list: every gift card becomes another coupon in SureCart > Coupons.
-
✕
No real balance: a coupon is a discount, so it does not track what is left on a card across several orders.
-
✕
No protection for simultaneous use: two checkouts that use the same code at the same moment can both succeed.
-
✕
No card history: there is no record of when a card was issued, spent or refunded.
GiftRocketWP for SureCart
Gift cards with their own balance and history
-
✓
A clean coupons list: at checkout the plugin creates a temporary discount and deletes it when the order is confirmed or the card is removed.
-
✓
An append-only ledger: issuances, redemptions, refund credits and admin adjustments are recorded in dedicated tables.
-
✓
Protection against double use: the plugin locks the card row (
SELECT ... FOR UPDATE) while it deducts a balance. -
✓
Partial use: what is left stays on the card for the next order, and a larger total can be paid with another SureCart payment method.
Three Dedicated Database Tables
Cards, ledger entries and logs are stored in their own tables, so gift card data does not mix with your SureCart products or coupons.
Holds each gift card: its code, starting value, remaining balance, buyer and recipient details, design and status (Active, Used, Expired, Disabled).
An append-only record of every balance change. Each entry has an event type (such as issuance, redemption, manual_adjustment or revoked), the amount, the balance before and after, the SureCart order ID and the user who made the change.
A log of security and admin events, with the card code, the user, the IP address and a short description for each event.
Try the Gift Card Customizer
This demo shows what customers see on a gift card product page. Choose an amount, pick a design, add a message and watch the preview update. It is not connected to a store. In your store, you mark a SureCart product as a gift card and the page loads on its own, with no shortcode.
GiftRocketWP Gift Card
Redeemable in your store. The balance carries over until it is used.
A Separate Gift Card Field at Checkout
The gift card field sits next to SureCart's coupon field, so customers never mix up a discount code and a gift card. A badge shows the balance once a card is applied.
The customer enters the code
The code goes into the gift card field. The plugin checks the card and shows its remaining balance.
A temporary discount covers the amount
To tell SureCart how much to deduct, the plugin creates a temporary discount for that amount only.
The temporary discount is removed
When the order is confirmed, or the buyer removes the card, the plugin deletes the temporary discount from SureCart.
The balance and ledger are updated
The card balance goes down and a ledger entry is added. Anything left stays on the card for the next order.
What GiftRocketWP Does in SureCart
The list follows the plugin's WordPress.org listing for version 1.1.0. Wallet passes need an ePasscard account, which is free for up to 50 live passes and paid after that.
Balances in dedicated tables
Balances, partial deductions and transactions are kept in three custom tables (wp_giftrocketsure_cards, wp_giftrocketsure_ledger, wp_giftrocketsure_logs).
Append-only ledger
Issuances, checkout redemptions, manual adjustments and refund restorations are recorded with the balance before and after.
Clean coupons list
Temporary checkout discounts are deleted when the order is confirmed or the card is removed, so SureCart > Coupons does not fill up with gift card coupons.
Separate checkout field
A "🎁 Have a gift card?" field next to the coupon form, so customers can tell a discount from a gift card. A badge shows the remaining balance.
Partial balances
If the order is smaller than the balance, the rest stays on the card. If it is larger, the customer pays the difference with another payment method.
Setup inside SureCart products
Set up gift cards in SureCart > Products: choose the product type, preset amounts, expiry period, email scheduling and disclaimer text.
No shortcode for products
Mark a SureCart product as a gift card and its page loads the customizer automatically.
Live card preview
The preview updates as the customer chooses a design and amount and writes a message.
Occasion designs and image upload
Designs for Father's Day, Mother's Day, Valentine's Day, birthdays and general occasions. Buyers can upload their own image and crop it (zoom, rotate, reposition).
Instant or scheduled delivery
Send right after payment or on a date and time the buyer picks. Scheduled cards use exact-minute WP-Cron events with a 5-minute queue as a safety net. WP-Cron runs when your site gets visits, so timing depends on traffic.
Protection against double use
The plugin locks the card row (SELECT ... FOR UPDATE) while it deducts a balance, so two checkouts cannot spend the same balance at once.
Refunds and cancellations
Spent balances go back to the card when an order paid with it is refunded or cancelled. A card is voided if the charge that bought it is revoked.
Apple & Google Wallet passes
New in 1.1.0. Passes are created through ePasscard with your own API key. ePasscard is free for up to 50 live passes, then paid.
Organised settings
General, Form and Email settings sit in separate tabs, and each tab has its own link.
CSV import and liability export
Import existing gift cards from a CSV file (up to 5,000 rows) and export a CSV of outstanding balances.
Pass designer with phone preview
Pick the pass type, colours, logo and banner image and check the result in a phone mockup. Use one store-wide template or a different one per product.
QR, Code 128, PDF417 and Aztec
Choose the code format that goes on the wallet pass.
Manage Gift Cards from SureCart
Found under SureCart > 🎁 Gift Cards. See every card, review the ledger, check queued deliveries and set global defaults. The tables below show sample data for illustration.
| Voucher Code | Product | Initial Value | Current Balance | Recipient | Status | Order Reference |
|---|---|---|---|---|---|---|
| GRCK-9481-B274-9021 | Holiday Gift Card | $100.00 | $100.00 | sarah@example.com | Active | sc_ord_84920 |
| GRCK-3104-E820-4491 | Birthday Voucher | $250.00 | $85.50 | mike@example.com | Partial ($164.50 Used) | sc_ord_84915 |
| GRCK-7729-A190-6623 | Valentine's Card | $50.00 | $0.00 | lisa@example.com | Used | sc_ord_84892 |
| Card Code | Event Type | Delta Amount | Balance Before | Balance After | Triggered By | Timestamp |
|---|---|---|---|---|---|---|
| GRCK-3104-E820-4491 | redemption | -$164.50 | $250.00 | $85.50 | Checkout (sc_ord_84930) | Just now |
| GRCK-9481-B274-9021 | issuance | +$100.00 | $0.00 | $100.00 | Purchase (sc_ord_84920) | 12 mins ago |
| GRCK-1102-K928-3382 | refund_credit | +$45.00 | $15.00 | $60.00 | SureCart Refund (sc_ref_109) | 1 hour ago |
| Voucher Code | Recipient Email | Preferred Scheduled Time | UTC Time Normalization | WP-Cron Status |
|---|---|---|---|---|
| GRCK-5510-Z819-2041 | emily.watson@example.com | Dec 25, 2026 09:00 AM | 2026-12-25 14:00:00 UTC | Queued |
| GRCK-4491-C203-8821 | david.miller@example.com | Nov 18, 2026 08:30 AM | 2026-11-18 13:30:00 UTC | Queued |
| Event Name | Card Code | IP Address | Operator | Details |
|---|---|---|---|---|
| CSV Bulk Import | BATCH | 203.0.113.10 | admin | Imported 120 gift card vouchers from CSV file. |
From Install to First Gift Card
GiftRocketWP works inside SureCart, so you set up gift cards on the product screen you already use.
Install the free plugin
Search "GiftRocket" under Plugins > Add New, or upload the ZIP. SureCart must be installed and active.
Edit a SureCart product
Open a product in SureCart > Products and choose the gift card option in the editor.
Set amounts and delivery
Set preset amounts, the expiry period and email scheduling. If you use ePasscard, add a wallet pass template.
Start selling
Open the product page. The customizer, the live preview and the gift card field at checkout are ready.
Frequently Asked Questions
Short answers about SureCart, coupons, delivery, wallet passes and refunds.
surecart/refund_created event and returns the spent amount to the card. The change is recorded as a ledger entry.
Ready to Sell Gift Cards in SureCart?
Install the free plugin from WordPress.org, mark a product as a gift card and start selling. Wallet passes are optional and need an ePasscard account.

