Accept store credit at checkout with Account Funds

Let customers pay for a whole order or part of one with their store credit balance.

Beka Rice Avatar

Written by

Last updated


Customers with a store credit balance can pay for a whole order with it, or apply part of their balance and pay the rest with another payment method. Both work on the classic cart and checkout and on WooCommerce’s Cart and Checkout blocks. Customers need to be logged in to use their credit.

When you’d use this

  • Let customers spend earned rewards against any order, paying the difference by card.
  • Let customers with a prepaid balance pay for whole orders with it.
  • Treat store credit like a gift card that must cover the whole order, by turning partial payments off.

How customers pay with store credit

Pay for the whole order with the Store credit payment method

When a customer’s available balance covers the order total, Store credit appears among the payment methods at checkout, named after your plural label. Choosing it pays for the order from their balance straight away, and the order records Store credit as its payment method.

Account Funds: Pay for the whole order (storefront Checkout block page as Jamie)

The payment method only shows when the balance covers the whole total. A customer with less credit applies it as a partial payment instead.

Apply part of the balance

With Partial payment on, the classic cart and checkout show a row in the order totals: "Use up to $X from your store credit balance." The amount field starts at the most the customer can apply, and they can lower it before clicking Apply. The applied credit then shows as a line such as "Store credit -$20.00 [Remove]", and Remove takes it off again.

Account Funds: Apply part of the balance (classic (shortcode) checkout page as Jamie)
Account Funds: Apply part of the balance (classic (shortcode) checkout page as Jamie)

On the Cart and Checkout blocks, the same control sits in the order summary: "Use up to $X from your store credit", an amount field and Apply, then a remove link once it’s applied.

Account Funds: Apply part of the balance (blocks) (storefront Cart block page as Jamie)

Customers pay what’s left with any other payment method. Once credit is applied, the Store credit payment method is hidden, since the balance is already in use.

When applied credit covers the whole order

If the applied amount covers the order total, checkout completes without asking for another payment method, and the order records Store credit as its payment method.

Turn on partial payments and set limits

Partial payments are on by default. To change that, or to limit how much credit can be applied to one order, go to WooCommerce » Settings » Payments » Store credit. The settings are explained in Account Funds settings:

What happens to applied credit

Credit applied as a partial payment is held when the order is placed. It stays in the customer’s current balance but leaves their available balance, so they can’t spend it twice.

The order becomesWhat happens to the applied creditOrder note
Processing or CompletedDebited from the balance"Removed $X in store credit from the customer’s balance used to pay for the order."
On holdDebited from the balance, as when paidSame as above
FailedReleased back to the available balance, or credited back if it was already debited"Released $X in store credit held for the order back to the customer’s available balance after the order failed."
CancelledReleased, or credited back if it was already debited"Restored $X in store credit from the customer’s balance after the order was cancelled." when credit is returned

When the order is paid, Account Funds checks that the held credit is still there. If the customer’s balance no longer covers it, for example because staff removed credit in the meantime, the order is set to On hold with the note "The store credit applied to this order ($X) is no longer available in the customer’s balance and could not be collected. Review the order before completing it." Check the customer’s balance in Account funds » Wallets, then collect the difference or cancel the order.

For refunds of orders paid this way, see Refund WooCommerce orders to store credit with Account Funds.

Coupons and cashback

Coupons apply first, and store credit reduces what’s left. A $100 order with a 10 percent coupon totals $90, and $30 of credit leaves $60 to pay.

Order paid cashback is calculated on the order total after applied store credit, so in that example a 5 percent reward pays 5 percent of $60. See How cashback is calculated.

WooCommerce Subscriptions

  • Renewals paid from the balance: when a subscription’s payment method is Store credit, each renewal is charged to the customer’s balance automatically. If the balance doesn’t cover a renewal, the payment fails with the order note "Payment error: Insufficient store credit amount to pay for the order.", and the subscription switches to manual renewal so the customer can pay the renewal order another way. After that renewal order is paid, the subscription stays on manual renewal.
  • Partial payments on subscriptions: credit applied in the cart or checkout covers the first order only. Renewals are charged in full to the subscription’s payment method.
  • Switching to store credit: a customer can change a subscription’s payment method to Store credit from My Account when their available balance covers the subscription’s recurring total.

Payment gateways

Partial payments work alongside your other payment methods, which only charge what’s left after the credit. Account Funds adjusts what it sends to WooCommerce PayPal Payments and Square so they charge only the remainder, and relabels PayPal Standard’s line items to match the reduced total.

Some payment providers have a minimum charge, so a very small remainder can be declined. If that happens, the customer can apply a little less credit to leave a larger amount to pay.

Common issues

Customers don’t see the option to apply store credit

Check that Partial payment is on, and that the customer is logged in with an available balance above zero. The control doesn’t show when the cart contains a store credit product or top-up, because store credit can’t buy store credit. If your site caches pages for logged-in customers, exclude the cart and checkout from the cache.

The Store credit payment method doesn’t show

It only shows when the customer’s available balance covers the whole order total, and it’s hidden once credit has been applied as a partial payment. Credit held by another unpaid order doesn’t count toward the available balance; check the Available balance card in Account funds » Wallets.

Can I exclude products from store credit?

Not for part of an order. Store credit applies to the whole cart: there’s no setting that makes products, categories or tags ineligible. The most a customer can apply is the lowest of their available balance, the cart total and your Maximum applicable amount, if you set one.

What you can do is switch store credit off for the whole cart when it holds certain products. Add this snippet to your site, for example with a code snippets plugin, and change no-account-credit to the slug of your product tag:

add_filter( 'wc_account_funds_can_use_funds', function ( $can_use_funds ) {
	if ( $can_use_funds && WC()->cart ) {
		foreach ( WC()->cart->get_cart() as $cart_item ) {
			if ( has_term( 'no-account-credit', 'product_tag', $cart_item['product_id'] ) ) {
				return false;
			}
		}
	}

	return $can_use_funds;
} );

While the cart holds a tagged product, customers can’t apply credit and the Store credit payment method is unavailable, on the classic and block cart and checkout. It’s all or nothing: the filter can’t spend credit on the other products and send the rest to another payment method. The Eligible orders and Eligible products settings on cashback rewards only decide what earns credit, not what credit can pay for.

Clicking Apply didn’t apply any credit

On the classic cart and checkout, an amount below Minimum applicable amount applies nothing. The Cart and Checkout blocks show "The minimum amount of store credit that can be applied is $X." instead.

An order went On hold with a store credit note

The credit applied at checkout was no longer in the customer’s balance when the order was paid. See What happens to applied credit.

A customer’s credit is still missing after a failed payment

Credit held for a failed order is released when the order’s status changes to Failed. If the order is still Pending payment, the credit stays held until the customer pays or the order is cancelled.

A subscription renewal paid with store credit failed

The customer’s balance didn’t cover the renewal, and the subscription was switched to manual renewal. The customer can pay the renewal order from My Account with another payment method. After the renewal order is paid, the subscription stays on manual renewal.

Keep learning