How do I generate a coupon code for users?
Ideally, I want it to be the user's first name in caps followed by a 6-digit string of random letters AND numbers.
This is something similar to the 4-digit auth code, but… now we are including letters.
Example code would be: JOHNDOE7BK3HE (all is in caps)I know there is a'Generate Random Number' function but what about random letters and numbers generator?