Skip to content
IvaSure add-ons and services for SureCart storesJoin the POD waitlist

Spending a balance at checkout

2 min read
Published
Category
Redemption

A redeemed gift card is wallet credit on a customer account. It is not a coupon: it survives across orders, part-pays an order, and leaves the remainder for next time.

Who is allowed to spend it

This is the part worth reading carefully, because it is easy to misread the setting that controls it. The rule the add-on enforces is this: a shopper must always prove ownership to spend wallet credit.

WhoWhat they must do
A signed-in customer whose account email matches the checkoutNothing. They already proved it by signing in.
Everybody elseEnter a valid gift card code bound to their email.
What "Require gift card code" actually changes
Turning Require gift card code to apply wallet balance at checkout OFF does not open the door. It only lets that signed-in, email-matched owner skip typing a code they already own. It never lets a guest apply another customer’s balance by typing their email address. If you were leaving it on because you thought otherwise, you can turn it off.

How the money is applied

The Wallet Spend Engine decides the mechanism. The default uses SureCart’s own per-checkout fees, and falls back to a coupon bridge automatically when a fee cannot be applied - so a checkout that cannot take a fee still takes the credit.

Developers can override both with a filter.

Force one engine regardless of the setting
add_filter( 'ivasure_gift_cards_wallet_spend_engine', function () {
    return 'coupon';
} );

Showing the balance to the customer

Under Dashboard & Refunds, Show wallet credits in customer dashboard adds a tab to the SureCart customer account, and Dashboard Tab Label names it. Turn it on: a balance the customer cannot see is a balance they will email you about.

The Dashboard and Refunds card with a toggle for showing wallet credits in the customer dashboard, a tab label field, and two refund behaviour toggles for auto-voiding unused cards and auto-reversing redeemed ones.
Dashboard and refund behaviour.

What a refund does to a card

Two switches decide what happens when the purchase that created a card is refunded, and they cover different situations.

SettingCovers
Auto-void unused gift cards when a purchase is refundedThe card was never claimed. Refunding the buyer and voiding the card leaves nobody out of pocket.
Auto-reverse redeemed gift cards when a purchase is refundedThe card was already redeemed into somebody’s wallet. Reversing removes that credit.
The second one takes money from a third party
Reversing a redeemed card removes credit from the recipient - who did not buy anything, did nothing wrong, and may have been given the gift months ago. It is the correct behaviour for fraud, and a poor experience for an ordinary refund. Decide deliberately rather than leaving it on because it sounds symmetrical.

Save to list