• Priority: Medium
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 24.07.21, 13:45
  • Opened by: Andrea Vallini
  • Closed by: Fred
  • Closed on: 01.08.21, 16:51
  • Reason: Closed
  • Comment: Glad to help!

Ticket #22006 - Problem hook Promokit Captcha

I have tried to set up your Promokit Captcha module, but when I go to do the verification it seems that a hook is amncant even though I have not made any changes. I tried resetting the module, but the problem did not resolve.

Attachments:

bug.png (99.3 KiB)

Comments

Fred 26 Jul 2021, 22:05

Hi, Andrea.
Just try to reset the module.
You also have to add public keys to the module settings

Andrea Vallini 26 Jul 2021, 23:56

I have reset the module and correctly entered the keys generated by google for captcha v3.
If I click on "Check module state" I get the same alert that I posted in my previous message.
If I go to check the captcha on my site I get an error message.

The keys are correct. I have copied and pasted and rechecked several times.

Attachments:

bug.png (22.6 KiB)
Fred 28 Jul 2021, 21:13

Something definitely wrong with your key. Google tell you "ERRORE per il proprietario del sito: tipo di chiave non valido"

Andrea Vallini 28 Jul 2021, 21:20

I have correctly copied the keys from the Google site as the attached screen. I have also correctly entered the url of my site on the captcha page.

If I press the form control button I still get the message:
Errors the module is not registered in hook header

I tried to reset the module but the problem persists.

Attachments:

key.png (45.3 KiB)
Fred 29 Jul 2021, 08:19

You don't have to reset the module because it works fine
Here is the thread about the same error you have
https://stackoverflow.com/questions/53108522/google-recaptcha-v3-0-not-working-error-for-site-owner-invalid-key-type

Andrea Vallini 29 Jul 2021, 09:39

I had to downgrade to version v2 and it seems to work.
Is your plugin not compatible with the current v3 which is more secure?

Anyway this error persist: see attached file

Attachments:

error.png (53.3 KiB)
Fred 30 Jul 2021, 07:07

Yes, I see. I'll add that to our TODO