App Configuration
Last updated
Last updated
I you want to Generate config with dynamic calculations
Visit :
Config.PointsEach1Dollar = 3
:
For every dollar spent, the user earns 3 royalty points. This incentivizes spending, with each dollar contributing towards point accumulation.
Config.MinimumPointsForConversion = 1000
:
A user must accumulate at least 1000 points to be eligible for converting points into money. This threshold ensures that users engage consistently before redeeming rewards.
Config.ConversionRate = 0.02
:
For every royalty point, the user gets $0.02. Once a user reaches the minimum points (1000), they can convert it into $20 (1000 * 0.02).
A user earns royalty points based on their spending.
Upon reaching the minimum points (1000), they can redeem the points into bank money (e.g., $20 from 1000 points).
Config.ApplePay
When set to true
:
Enables Apple Pay payment method
Users will see the Apple Pay interface with fingerprint scanner
Card generation will cost money (specified by GenerateFee)
When set to false
:
Disables Apple Pay payment method
Users will see standard generation button
Card generation will be free
Config.GenerateFee
Sets the cost to generate a new loyalty card
Only applies when Config.ApplePay
is enabled
If Apple Pay is disabled, cards are generated for free regardless of this value
Default value: 79.99