Post by thomas.huerlimann » Tue Dec 24, 2019 5:48 am

Hi all

We have enabled Google reCAPTCHA on OpenCart and we have it properly configured. It is visible on the registration form here.

The problem is, the Captcha is ignored. The registration is possible regardless if the captcha was solved or not.

Can someone else reproduce it, and if yes, is this a simple bug? If yes, would this be solved soon?

Best regards


Mon May 13, 2019 10:44 pm

Post by IP_CAM » Tue Dec 24, 2019 6:37 am

Die Registrierung (bitte wieder löschen) konnte erst nach Anklicken des Feldes abgeschlossen werden.
Woher aber der doppelte Bestätigunseintrag in der -breadcrumb- Sektion stammt, ist mir auch nicht klar ...
PS: Und in diesem Forum Teil sollten wirklich nur OC Bugs erwähnt werden, nicht individuelle Fehler. ;)
Sonst macht man hier gern die Hunde scharf ...

I am no longer active at the Forum. Please do NOT send me Personal Mails,
they will no longer be replied to.
My Github OC Site:
2'880 FREE OC Extensions, on the World's largest Github OC Repository Archive Site.

User avatar
Legendary Member


Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by cedcommerceteam » Tue Dec 24, 2019 10:00 pm


I have checked site link provided in forum,

I have found some issue on server side validation of form,

the value of field "g-recaptcha-response" is blank but still form get submitted and account created

you can add below code for validation in controller

if (isset($this->request->post['g-recaptcha-response']) && $this->request->post['g-recaptcha-response']) {

$recaptcha = file_get_contents('' . urlencode('Recaptcha Private Key') . '&response=' . $this->request->post['g-recaptcha-response'] . '&remoteip=' . $this->request->server['REMOTE_ADDR']);

$recaptcha = json_decode($recaptcha, true);

if (isset($recaptcha['success']) && !$recaptcha['success']) {
$this->error['warning'] = 'Error Message';
} else {
$this->error['warning'] = 'Error Message';

Call us at : (+91) -8765210318 , Skype: live:carlmorgan.cedcommerce , Email:
CedCommerece : Officail Opencart Partners
CedCommerce Official :
Opencart Services : www.cedcommerce/
Sell On various Marketplace Integration : Opencart-Extensions
Magenative Mobile App/IOS Development :
Webinar : Holiday Season Webinar

User avatar
Active Member


Wed Aug 09, 2017 9:02 pm
Who is online

Users browsing this forum: No registered users and 4 guests