- Messages
- 1,263
- Reaction score
- 969
- Points
- 973
So I wanna know (this is for education) how to make a button on my website write a random key to a SQL database (a new row) and then send it via email to the person who brought it after paying from PayPal?
A little complicated, but Ill make it simple below:
[Buy This Now] -> *Goes to PayPal* [Pay $5 to get a key] -> *Pays the $5* -> email is sent to the users PayPal showing:
Blah Blah Blah
Key: ABC123
but ABC123 is randomly generated and place in the database.
People can then go to my tool and paste it and login
Thanks
A little complicated, but Ill make it simple below:
[Buy This Now] -> *Goes to PayPal* [Pay $5 to get a key] -> *Pays the $5* -> email is sent to the users PayPal showing:
Blah Blah Blah
Key: ABC123
but ABC123 is randomly generated and place in the database.
People can then go to my tool and paste it and login
Thanks