Coupon code verification upon registration

Posted 2 months ago by RootTech

I have a table on my database in coupons_code with randomly generated chars.

I want users to input a coupon code when registering, then the code should be verified that it matches a code on the coupons table before users registration is successful.

how do I go about it please.. I'm new to laravel and php,so please be as precise as possible.

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.