Jump to content
  • Advertisement
Sign in to follow this  
jegcelorio

System to create redeem codes

This topic is 1997 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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!

Share this post


Link to post
Share on other sites
Advertisement
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 ?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!