-
Notifications
You must be signed in to change notification settings - Fork 0
Using Google reCAPTCHA with Laravel 8 and Laravel-Livewire | coderflex.com #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi!
Cheers! |
Hey, @nocodelab. Thanks for letting me know, I'll fix them as soon as I can. |
When I click the submit button, there is no response to the handle function. console.log doesn't print anything? |
Hey, @amrikarisma Did you try to print something inside the Something like: function handle()
{
console.log('print..');
} |
Good tutorial, may I please suggest swapping all the "env" calls with the "config"?
It is highly recommended not to use env in production as Laravel uses optimisations that include cashing the configuration files and could bring some side effects in the long term. |
Hey, @m7vm7v Thanks for your feedback. It's been a while since I updated the post, and yea, you have a point on Thanks! |
hi @ousid, The function handle doesn't trigger when i click on submit button, not sure why
Thanks in advance |
Hey, @HuyNguyen206 Have you checked the public function updatedCaptcha($value)
{
dd($value);
} |
Hi, @HuyNguyen206 I tested the code, and nothing wrong with it. Make sure to add your project URL in the |
hi @ousid , I try the updatedCaptcha function(doesn't print the $value when clicking on submit button) and checked the domain settings already. it is correct I am using the following versions in my local: |
I have tested it yesterday on Laravel Could you show me the code, and your setup, to help you out? |
@ousid |
@HuyNguyen206 |
Hiya @ousid, are you still able to provide help with this? I've been struggling to implement recaptcha into my contact form for some time now and I'm just not sure what I've done wrong. Is it possible I could forward my code over to you to check? Would greatly appreciate the help. |
Update: I made the corrections suggested by @nocodelab, and the closest I've managed to get is for the form to display the 'unable to validate user/bot' message. Form still won't send emails |
@grobiwebdesign, sorry to hear that you are experiencing the issue with the article. I'll upload an updated version, tomorrow, which I get it working with the new captcha mechanism, and I'll mention you in it. Cheers! |
Hi, thank you for responding. It’s great to hear you’re keeping the contact
form up to date.
With what I was able to go on, I’ve managed to get it working up to the
point where the user receives the validation message about bots but I still
can’t get it to send emails.
Is it okay if I forward you my code so to cross reference it?
Many thanks
Graeme
…On Wed, 19 Jul 2023 at 22:55, Oussama ***@***.***> wrote:
@grobiwebdesign <https://github.com/grobiwebdesign>, sorry to hear that
you are experiencing the issue with the article.
I'll upload an updated version, tomorrow, which I get it working with the
new captcha mechanism, and I'll mention you in it.
Cheers!
—
Reply to this email directly, view it on GitHub
<#2 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADZMK3IPK36MYXHAXW7FQTTXRBJWRANCNFSM5MYKPD7Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
No problems, create a gist for your example, and share it. I'll review it later today, once I have time. |
Hi again, sorry I needed to delete that comment. I thought we were speaking privately from Gmail I didn't realise these were visible publicly. Do you have a private email I can forward the code to? |
I have updated the article, with a new one. Take a look, and let me know if you have any questions: Cheers! |
Using Google reCAPTCHA with Laravel 8 and Laravel-Livewire - Coderflex
Google reCAPTCHA is a captcha like system. It assures that a computer user is a human. It is the best and most used captcha system available where users are only required to click on a checkbox and in some cases select some similar images.
https://coderflex.com/blog/using-google-recaptcha-with-laravel-8-and-laravel-livewire
The text was updated successfully, but these errors were encountered: