Skip to content

How to Give Cashback for a Role or Payment Method (Pro)

Two rule tables that reward who is buying and how they pay, rather than what they buy.

Go to DevDiggers Plugins → Wallet → Cashback Rules and scroll to the last two tables.

The user role and payment method cashback rule tables

Add Row under User Role Cashback Rules, then pick a WordPress role, a type and an amount.

The Add Row button under a rules table

This is the tier mechanism. Give a Wholesale or Member role a better percentage than Customer, and the rate follows the account rather than the order.

Only one role rule ever applies. Where a customer holds two roles that both have rules, the rule added most recently wins. Adding a second rule for a role someone already matches silently changes what they earn, so keep the table short and deliberate.

There is no status column here. Delete the row to retire the rule.

Add Row under Payment Method Cashback Rules, the lower of the two tables, then pick a gateway, a type and an amount.

A payment method cashback rule row with its method, type and amount

Use it to steer traffic towards the method that costs you least. Bank transfer costs you nothing in processing fees, so 2% back is still cheaper than a card.

The gateway list is your enabled WooCommerce payment methods, so a method you switch off later leaves a rule that never matches.

Both tables save with the Save button on the screen.

The Save button on the cashback rules screen

These two add to cart, product, category and first-order cashback. A single order can collect several at once.

The Max Cashback Cap and Minimum Order Value fields

Add up your worst case before you publish the rates. A member, buying a rewarded product, in a rewarded category, at a rewarded basket size, paying by the rewarded method.

Then set Max Cashback Cap under Configuration → Cashbacks to whatever you can actually afford.

The cap scales every rule down proportionally rather than cutting the last one off, so the split stays readable in the customer’s history.

A wallet top-up does not collect role, cart or first-order cashback, because a top-up is not a purchase. Only Topup basis rules apply to it.

The checkout can still show a cashback figure on a top-up when a payment method rule matches. That figure is not what gets credited when the order completes, so do not build a top-up promotion out of a payment method rule. Use a Topup band on the cart table instead.