Order API
Track completed orders and calculate rewards
Cashback API
Process cashback rewards for customers
Automatic Rewards
Automatically award points based on order value
Achievement Tracking
Track customer achievements and milestones
Order Tracking Implementation
To track orders and provide cashback rewards in your Flutter app, you’ll need to integrate with the Order API on your backend server.Backend Integration
The order tracking is typically handled on your backend server using the Order API:Flutter Implementation
In your Flutter app, you can track order completion by calling your backend API:Cashback Configuration
Configure cashback rewards in your Gameball dashboard:1
Set Cashback Rate
Configure the percentage of order value to be awarded as cashback
2
Define Minimum Order Value
Set the minimum order amount required to earn cashback
3
Configure Maximum Cashback
Set limits on maximum cashback amount per order
4
Enable Category-Based Rewards
Configure different cashback rates for different product categories
Order Status Tracking
Track different order statuses to provide appropriate rewards:Testing Order Tracking
1
Test Order Creation
Create test orders with various amounts and products
2
Verify Cashback Calculation
Ensure cashback is calculated correctly based on your configuration
3
Check Order History
Verify that orders appear in customer’s order history
4
Test Edge Cases
Test with minimum order values, maximum cashback limits, and special categories
Best Practices
- Always track orders after successful payment confirmation
- Implement proper error handling for failed API calls
- Store order tracking responses for debugging purposes
- Test order tracking in your staging environment before going live