Form to select number(s) and checkout with Paypal

Hi Guys,
This is my first post, and I hope I’m clear on my request / question. My client would like to have a site which he can have his clients select random numbers (ie lottery) like a bingo card and then the client can check out via paypal, and the client information and numbers selected is kept in a sql database. I was wondering if there was a script already developed and where I could find something like this. I am open to other suggestions as well.

Thanks