For the complete documentation index, see llms.txt. This page is also available as Markdown.

Refunds, cancellations & order edits

Plan: order edit tracking needs a plan that includes Auto-adjust on refunds and edits (see Billing in DollarBack admin). On other plans the setting is shown locked ("Upgrade your plan to use this feature").

Orders change after they're placed: items are added, refunds are issued, whole orders are cancelled. This page explains how DollarBack keeps earned cashback in sync when that happens, and what does (and doesn't) happen to credit a customer already spent.

Turn on order edit tracking

Reconciliation is off by default. Refunds, cancellations and order edits adjust issued cashback only when both of these are true:

  • Your plan includes Auto-adjust on refunds and edits.

  • Enable order edit tracking is turned on in Settings.

To turn it on:

  1. Open DollarBack admin β†’ Settings and find the Advanced section.

  2. Turn on Enable order edit tracking; it recalculates cashback automatically when orders are edited, refunded, or cancelled.

  3. Save.

Advanced settings card with Enable order edit tracking checked, Give store credit to B2B buyers on company locations unchecked, and an Exclude customers by tag field.
Enable order edit tracking is in the Advanced card in Settings.

With the setting off, or on a plan without Auto-adjust on refunds and edits, cashback stays whatever it was when the order first triggered; refunds and edits won't touch it. Credit still in a holding period is the exception; see Orders still in the holding period.

How reconciliation works: the diff

When a tracked order changes, DollarBack recalculates what the cashback should now be and compares it to what was already awarded. Only the difference moves:

The order...
Diff
What happens

Grows (item added, upsell edit)

Positive

The extra cashback is issued as new pending credit

Shrinks (partial refund, item removed)

Negative

The difference is clawed back (see order below)

Is cancelled / fully refunded

Negative (full)

The order's entire cashback is clawed back the same way

Clawbacks don't email the customer. The Store Credit Debited email is only for debits you start yourself (API, CSV import, Flow).

For a negative diff, the clawback runs in a fixed order:

  1. Pending credit for that configuration is offset first. If an earlier edit left extra cashback waiting for the order to settle, that pending amount is reduced before anything else.

  2. Then the live balance is debited for whatever remains, which can take a balance to zero if the customer already had less than the clawback.

  3. Any shortfall becomes owed credit. A balance can't go below zero, so if the customer had already spent the credit, the rest is recorded as an amount they owe and is automatically deducted from their future cashback until it's paid down. You can see, adjust, or clear this on the Store credit owed card on their customer page in Shopify admin; see Admin blocks on the customer & order pages.

The Store credit owed admin block on a Shopify customer page with the text "This customer owes nothing.", a currency picker set to USD, a Set amount owed field and a Save button.
A shortfall shows on the Store credit owed card on the customer's page in Shopify admin. You can change or clear it there.

When an order is cancelled, any reward discount codes it earned (from a cashback program that rewards codes instead of credit) are also deleted, so they stop working at checkout. Each one is recorded in the credit log. A partial refund doesn't remove a code.

Every movement lands in the credit log, so you can trace exactly what was issued and clawed back per order; see Credit logs & scheduled rewards.

Analytics, Activity page with the tabs Credits earned, Credit spent, Scheduled, Discount codes, Referrals and Clawbacks. Scheduled and Clawbacks are marked.
In Analytics β†’ Activity, clawbacks have their own tab. Credit still in a holding period is on the Scheduled tab.

Orders still in the holding period

If you set a holding period, a refund, edit, or cancellation during the hold doesn't create a clawback. Nothing has reached the customer's balance yet, so there's nothing to take back. Instead, when the hold ends, DollarBack recalculates the reward against the order as it is then: its current items and totals, with the programs and settings saved on the order when it was placed.

  • A partial refund or a removed item during the hold reduces the credit that's released.

  • A cancelled order releases nothing. Its row on the Scheduled view shows Denied.

  • This happens whether or not Enable order edit tracking is on, and whatever your plan.

Two rules that never bend

  • Credited entries are an immutable audit trail. DollarBack never rewrites a past credit entry; corrections always appear as new debit or credit entries. Your log is a complete history, not a running total that gets edited in place.

  • Tier multipliers are snapshotted per order. The multiplier in effect when the order earned cashback is stored with it and reused for any later recalculation. Changing your tier setup later never retroactively changes past orders' cashback, in either direction.

If you downgrade to a plan without order editing

Moving to a plan without Auto-adjust on refunds and edits switches reconciliation off the moment the new plan takes effect. There is no grace period and no notice period.

  • The setting locks, but its value is kept. Enable order edit tracking greys out with a lock icon. If you upgrade again later, it comes back exactly as you left it.

  • Edits, refunds, and cancellations stop adjusting cashback. From the switch onwards, an order's cashback stays whatever it was when the order first triggered, the same as a store that never turned the feature on. If a refunded customer keeps their credit, that's why. You can still debit balances manually from the customer page.

  • Nothing that already happened is reversed. Credit issued, clawbacks taken, and owed amounts recorded while your plan included it all stay on the ledger.

  • Credit still in a holding period is still checked when it's released. When the hold ends, DollarBack recalculates it against the order as it is then, with or without order edit tracking, so a refund during the hold still reduces it (see Orders still in the holding period).

  • Upgrading again isn't retroactive. Reconciliation resumes for edits made after the upgrade. An order edited or refunded while your plan didn't include it is only reconciled if it is edited again afterwards; that later edit recalculates against the order's full current state, so it catches up any earlier changes on that order.

If you rely on refund clawbacks, and most stores with a returns window do, keep a plan that includes Auto-adjust on refunds and edits; see Plans, usage & overage billing.

What happens to credit the customer spent

You can return that credit yourself:

  • The code is still unused: open the customer's page in Shopify admin and use the Reward redemptions block. It lists the customer's unused marketplace redemptions. Click Refund on one, choose when the returned credit expires in Credit expires in (0 means it never expires), and confirm. The customer gets back the credit they spent. See Admin blocks on the customer & order pages.

  • The code was already used: used codes aren't listed in the block. Add the credit back manually instead, for example with a bulk CSV import.

Store credit applied directly as payment at checkout follows Shopify's standard refund flow, like any other payment method on the order.

Verify it works

  1. With order edit tracking on, place a test order that earns cashback and confirm the credit in the log.

  2. Refund part of the order. The log should show a clawback debit for the difference. With a holding period set, there's no clawback row; check instead that the credit released when the hold ends is the smaller amount.

  3. Edit another test order to add an item. The log should show an incremental pending credit for the increase.

Common issues

  • Cashback didn't adjust after a refund: order edit tracking was probably off when the refund happened, or the store's plan didn't include Auto-adjust on refunds and edits; see A customer didn't receive cashback for the wider decision tree.

  • An order was refunded after its holding period ended and the credit stayed: expected. Credit released after a hold is final; see Orders still in the holding period.

  • A clawback looks smaller than expected: check whether part of it was absorbed by pending credit before the balance was touched.

  • A customer wants credit back for an unused reward code: refund it from the Reward redemptions block on their customer page (see above).

Last updated