first of all,
Why would you want to remove the promo stamp code? at the moment, somebody receives the promo code, and stamps, it can only be used for that progress, as for the next stamp you need another code.
to make it more secure, you could use the string method as I mentioned before.
I only used the local storage, as it was more conveniant for me and is easy to debug. plus you could just provide any pre-filled database with code. I recommend, that you look a little in a SQL tutorial to see, what you can do there. It is not that difficult.
you can also replace the whole database section with something like:
(see image, I can not enter any code in the moment, access forbidden…)
that would allow for free Promo Codes like 0x17, 1y76, 2z63,….(xyz any character)
Attachments:
You must be
logged in to view attached files.