Hi,



I am looking for some advice on how to setup the following functionality:



I create a product which is a unique 8 digit code. There are over 1000 of these pre generated. The user clicks Buy Now on my site, they then purchase the code through PayPal/EJ.



Upon payment they receive a code. With this code they can then login to my site and use the feature.



//end description



I am after some advice on how this would be done best. What the customer is purchasing is basically a password. Due to the number, using 1000 if/else statements is not something I would like to do.



Can anyone offer any advice on how this is best done?



Many thanks.

  • created

    Nov '11
  • last reply

    Nov '11
  • 1

    reply

  • 863

    views

  • 2

    users

  • 2

    links

You could use our Send Stored Codes feature to issue each buyer a code from a list you'd paste into the product's setting:

http://www.e-junkie.com/ej/help.selling-codes.htm



You could also use our custom/3rd-party Integration feature if you want to have the order data sent back to your system after purchase, e.g. if some function at your end needs to associate a particular buyer with the code they were issued:

http://www.e-junkie.com/ej/help.integration.htm