Cashback Logic
Technical details of cashback calculation
Detailed breakdown of how RewardsPro calculates cashback.
Basic Formula
Cashback = Eligible Amount × Tier RateEligible Amount Calculation
Starting Point
Begin with order subtotal (line items total).
Adjustments
1. Line items
Sum of (price × quantity)
2. Discounts
Subtract discount amounts
3. Excluded items
Remove non-qualifying products
= Eligible Amount
Final amount for cashback
What's NOT Included
Shipping charges
Tax amounts
Tips
Gift cards
Excluded products/collections
Tier Rate Application
Finding the Rate
Look up customer's current tier
Get the cashback percentage
Apply to eligible amount
Example Calculation
Edge Cases
Zero Cashback Scenarios
No cashback awarded when:
Order total is $0
All items excluded
Below minimum threshold
Customer has no account
Rounding
Cashback is rounded to 2 decimal places:
$6.504 → $6.50
$6.505 → $6.51
Multi-Currency Orders
For stores with multiple currencies:
Order is in customer's currency
Converted to store currency
Cashback calculated in store currency
Credited in store currency
Discount Handling
Order-Level Discounts
Applied proportionally across all items.
Item-Level Discounts
Applied to specific items only.
Discount Code Types
Percentage off
Reduces eligible amount
Fixed amount off
Reduces eligible amount
Free shipping
No effect on cashback
Buy X Get Y
Reduced on free items
Refund Impact
Full Refund
Partial Refund
Processing Timeline
Order placed
Immediate
Payment confirmed
Seconds to minutes
Webhook received
< 30 seconds
Cashback calculated
< 1 second
Credit applied
Immediate
Customer sees balance
Real-time
Last updated