What’s a good way of generating a serial number for a user who has just bought software on my website (WordPress)?

I am selling software on my website. I'd like to be able to generate a unique serial number on my website just after purchase.

I already have an algorithm in mind, based on the users email address. Is there a way I could write some Php code or something into a Contact form or something similar, and have the user be emailed with the info?

(I am using Contact Form 7 – and wordpress)

submitted by /u/Ian_SAfc
[link] [comments]

Leave a Reply

Your email address will not be published. Required fields are marked *