? Pending

User tests: Successful: Unsuccessful:

avatar rifatwahid
rifatwahid
1 Nov 2019

Pull Request for Issue # .
"answer provided by user" issue on reCAPTCHA, Specially it's conflicting if multiple reCAPTCHA found on the respective page.

Summary of Changes

Worked on "onCheckAnswer" function. The "$code" parameter's value wasn't implementing inside the function. While you call "onCheckAnswer" function, it used to take "response" from the form which was conflicting if multiple reCAPTCHA found on the respective page.

Testing Instructions

Create multiple contact forms in one page with reCAPTCHA (it should be ajax contact form, We tested by SP Page Builder) and submit the second or third form with complete reCAPTCHA.

Expected result

if anyone sends any value to "$code" parameter on "onCheckAnswer" function, it should take the "$code" parameter's value "$code" as "response".

Actual result

Worked on "onCheckAnswer" function. The "$code" parameter's value wasn't implementing inside the function. While you call "onCheckAnswer" function, it used to take "response" from the form which was conflicting if multiple reCAPTCHA found on the respective page.

Documentation Changes Required

No

avatar rifatwahid rifatwahid - open - 1 Nov 2019
avatar rifatwahid rifatwahid - change - 1 Nov 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 1 Nov 2019
Category Front End Plugins
avatar rifatwahid rifatwahid - change - 1 Nov 2019
Labels Added: ?
avatar Quy Quy - test_item - 3 Dec 2019 - Tested successfully
avatar Quy
Quy - comment - 3 Dec 2019

I have tested this item successfully on f7f7291


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26882.

avatar SharkyKZ
SharkyKZ - comment - 20 Dec 2019

Are there any free extensions to test this with? Contact forms are only in Pro version of SP Page Builder.

avatar rifatwahid
rifatwahid - comment - 20 Dec 2019

Thanks for the test. I can provide you the SP Page Builder pro privately for test with it.

avatar SharkyKZ
SharkyKZ - comment - 22 Dec 2019

OK, send it to sharkykz@gmail.com please. And could you implement code simplifications suggested above. Thanks.

avatar mamunhpath
mamunhpath - comment - 23 Dec 2019

OK, send it to sharkykz@gmail.com please. And could you implement code simplifications suggested above. Thanks.

I have send you a SP Page Builder copy. Thanks.

avatar mamunhpath
mamunhpath - comment - 23 Dec 2019

@SharkyKZ From Page Builder addon settings you need to change default captcha to Google reCaptcha.

avatar SharkyKZ
SharkyKZ - comment - 23 Dec 2019

Thanks. PR works fine. Just please update it according to code suggestions above.

avatar rifatwahid
rifatwahid - comment - 25 Dec 2019

is everything ok now, please? Please note, the same issue exists in the invisible reCaptcha also. will I request a pull again? or you can add the code?

avatar HLeithner HLeithner - change - 25 Dec 2019
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-12-25 07:51:15
Closed_By HLeithner
avatar HLeithner HLeithner - close - 25 Dec 2019
avatar HLeithner HLeithner - merge - 25 Dec 2019
avatar HLeithner
HLeithner - comment - 25 Dec 2019

Thanks for fixing this bug.

avatar rifatwahid
rifatwahid - comment - 25 Dec 2019

Hi HLeithner,
You are always welcome, The same issue exists in the invisible reCaptcha aswell, Will I request a pull again as like this again? or, you guys will fix it?

  • Thanks
avatar HLeithner
HLeithner - comment - 27 Dec 2019

@rifatwahid please provide a pull request. Because "you guys" means also you ;-)

Add a Comment

Login with GitHub to post a comment