For more detail this asset from the Unity Asset Store: Click Here
This is a paid asset, but we’ll share Jarcas Promo Code System for FREE, Please keep in mind this package is provided only for learning purposes or to be able to test before buying the product, NOT FOR COMMERCIAL PURPOSES.
Jarcas Promo Code System v1.0.1
The Jarcas Promo Code System is a cross-platform solution for creating, managing, and redeeming promo codes for in-app purchases. Perfect for when your game/app provides in-app purchases and you want to give them away to certain people (beta testers, friends/family, reviewers/press, contest winners).
Features:
– Well-documented with full source code
– Works on any platform
– Server-side promo code storage and verification via PHP/mySQL
– Add or remove codes after release without requiring an app update
– Create and manage codes from the Unity Editor interface (no coding or phpMyAdmin necessary)
– Supports multiple games/apps in a single database
– Supports multiple products per game/app
– Highly configurable code generation. You choose exactly how you want your codes to look
– Can remove lookalike characters (“1”, “I”, “0”, “O”, etc.) to avoid user confusion
– Promo codes can be configured to be restorable (useful for non-consumable products)
– Promo codes can be single-use or multi-use
– Tracks device ID on redemption
– Generate many codes in one click
– Provides security against hackers spoofing server messages
– Works in Unity Free
NOTE: Promo codes are stored and verified by a web server. The necessary server-side PHP scripts are included in this package. However, you are required to supply the server itself. Any server providing PHP and mySQL databases will suffice.