Hello Game Dev community!
Based on what I've read over the Internet, it seems that the following question has many answers:
How can I create a website where users can redeem codes that I've generated? I'm looking for a system/service that will allow me to generate such codes, and to manage my giveaways.
Any good recommendations? Solutions?
Thanks!
System to create redeem codes
Started by jegcelorio, Feb 24 2013 06:55 PM
5 replies to this topic
#1 Members - Reputation: 111
Posted 24 February 2013 - 06:55 PM
Sponsor:
#2 Members - Reputation: 3830
Posted 25 February 2013 - 12:26 AM
1) pick a serverside scripting language
2) pick a database server
3) generate a bunch of random strings.
4) store the random strings in the database.
5) create a website with a form.
6) write a serverside script that checks if whatever the user entered into the form is in the database.
7) mark the code as used, give the user whatever it is the user should get.
8) profit ?
2) pick a database server
3) generate a bunch of random strings.
4) store the random strings in the database.
5) create a website with a form.
6) write a serverside script that checks if whatever the user entered into the form is in the database.
7) mark the code as used, give the user whatever it is the user should get.
8) profit ?
I don't suffer from insanity, I'm enjoying every minute of it.
The voices in my head may not be real, but they have some good ideas!
The voices in my head may not be real, but they have some good ideas!
#4 Members - Reputation: 239
Posted 25 February 2013 - 03:44 PM
1) pick a serverside scripting language
2) pick a database server
3) generate a bunch of random strings.
4) store the random strings in the database.
5) create a website with a form.
6) write a serverside script that checks if whatever the user entered into the form is in the database.
7) mark the code as used, give the user whatever it is the user should get.
8) profit ?
no no no
8)???
9) profit
but really... I do agree with him that is the way to do it.
#5 Members - Reputation: 721
Posted 25 February 2013 - 07:29 PM
If they are just proportional codes, and there aren't that many, you might just forget the database and hard-code your redeem codes in your server scripts.
There are also be some tools for this built in to banking tools, like Google Checkout. That would be my first choice, if it's suitable to your use.
There are also be some tools for this built in to banking tools, like Google Checkout. That would be my first choice, if it's suitable to your use.






