-
Notifications
You must be signed in to change notification settings - Fork 61
reCaptcha show up twice on One Page Checkout #43
Comments
Hi, Have you tried to see if issue persists on a plain base RWD theme? Unfortunately I don't have the time right now to debug this for you. |
Closed due to inactivity |
@ProxiBlue , I'm facing the same issue and debugged that a bit. It's the same the other way around. Tested it also with default theme and can confirm that it happens there as well. So it's not related to the custom theme. |
Hello, I will have a look int this, things must have chanegd somewhere, breaking the integration. |
@ProxiBlue , thanks for the fast reaction. |
Ok, I will give it a test on 1.9.4.5. I no longer actively use this module, so likely an update to checkout has broken things. |
Hello, I am currently hospitalised with a serious trauma wound, and will get to this when I can. I am unsure when that will be, likely in about 2-3 weeks |
Hello, I have released v 2.3.7, which I believe fixes this issue. Please have a test and let me know. |
@ProxiBlue , just tested it. Looks fine and seems to work. |
@ProxiBlue , we just found an issue with your new release. Please be so kind and try to reproduce and test on your side. |
Hello, I will look into this, thanks for reporting. |
Hello, is your failure after Billing submit an actual reCaptcha failure message, or are you flicked back to cart? |
I am not able to reproduce the issue, works every time https://drive.google.com/file/d/1MrJ_Rea161WHMWo3dHJn8te8754tJ99A/view In admin, enable the debug log Then after your fail, check the debug log located at /var/log/recapctha.log My example log is as such:
|
@ProxiBlue , thanks a lot for your fast reply. |
Sounds like a javascript issue. When the code submits the response is
coppied into the post request. Sounds like that is missing.
Are you hiding the recaptcha elements with css?
…On Wed, 3 Feb 2021, 00:02 Ole Schäfer, ***@***.***> wrote:
@ProxiBlue <https://github.com/ProxiBlue> , thanks a lot for your fast
reply.
Activated the logging and found out, that the g-recaptcha-response is
missing as soon as I choose the position Bottom Right or Bottom Left for
the Recpatcha.
When I display it inline, everything is fine and the response is taken
correctly.
Can you give me an advice how to fix that?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#43 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGDJVAGF4EGQ4WDIKNI5GDS5AO2PANCNFSM4KC5WLAA>
.
|
Any javascript errors in browser console?
…On Wed, 3 Feb 2021, 00:02 Ole Schäfer, ***@***.***> wrote:
@ProxiBlue <https://github.com/ProxiBlue> , thanks a lot for your fast
reply.
Activated the logging and found out, that the g-recaptcha-response is
missing as soon as I choose the position Bottom Right or Bottom Left for
the Recpatcha.
When I display it inline, everything is fine and the response is taken
correctly.
Can you give me an advice how to fix that?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#43 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGDJVAGF4EGQ4WDIKNI5GDS5AO2PANCNFSM4KC5WLAA>
.
|
@ProxiBlue , we found the issue. |
Glad you got it solved.
…On Fri, 5 Feb 2021, 05:11 Ole Schäfer, ***@***.***> wrote:
@ProxiBlue <https://github.com/ProxiBlue> , we found the issue.
We generally include the newsletter subscription with the corresponding
ReCaptcha, which we added manually, in the footer.
Unfortunately this one is cached as long as the customer is on other pages
than the checkout and so the check in your code, if we are in the checkout,
fails for this ReCaptcha. And this way the validation is not triggered
correctly.
So actually not related to your extension, but to our customizations.
Thanks nevertheless for your fast reply.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#43 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGDJVH3OXUSMNA2UAIO22DS5MER3ANCNFSM4KC5WLAA>
.
|
@ProxiBlue , I fear we now have another issue, which might be related to the fix for this ticket.
Please correct me, if I did not understand the whole process, but I would say we need both captchas in the code, which is currently not the case. |
Hello, checking if I can reproduce You should not need both, as the code will find the first one (as what ho google code does) and copy the response. They never expect multiple. |
However, I can agree that the register now fails (oops) I am looking into it. I am 100% sure I tested that prior, but maybe a clean cache/slate changed the state of something |
Ok, so the issue is that I now transpose the separated form ids from the previous MULTIPLE captcha entities to one, with one form id. |
@ProxiBlue , thanks a lot for your fast work here, that seems to work |
NP
A lot of stores use this module. If they composer update with a blanket
verion update a lot of stores will break.
Swift resolution prevent a lot of angry people ;)
…On Sat, 6 Feb 2021, 16:59 Ole Schäfer, ***@***.***> wrote:
@ProxiBlue <https://github.com/ProxiBlue> , thanks a lot for your fast
work here, that seems to work
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#43 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGDJVCD6YD2HOU7NIL3CBDS5UAHLANCNFSM4KC5WLAA>
.
|
Please update to 2.3.9. |
@ProxiBlue , shortly tested your new version. But I think your fix does not work. |
Crap. I only tested not selected. Will confirm. Thanks for the feedback.
…On Mon, 1 Mar 2021, 15:26 Ole Schäfer, ***@***.***> wrote:
@ProxiBlue <https://github.com/ProxiBlue> , shortly tested your new
version. But I think your fix does not work.
I have activated all ReCaptcha Forms in the Backend Config and everything
worked in 2.3.8.
When I now use your new version, the Captcha is not validated at all in
the checkout.
Please take a look at
\ProxiBlue_ReCaptcha_Model_Recaptcha::_getTargetForms
There you unset register_during_checkout and guest_checkout from $forms[].
In 2.3.9 now you check exactly for these entries in
\ProxiBlue_ReCaptcha_Model_Recaptcha::isRequired.
I would say this deactivates the check in general, if I see that
correctly. No matter what you activate in the backend.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#43 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGDJVGFUVC426FLBXMPCS3TBM6R5ANCNFSM4KC5WLAA>
.
|
Ok, I am re-opening this sisue as not completely solved Be aware that on 2.3.8, if you deselect the checkout forms in admin, checkout will completely break. |
Ok, https://github.com/ProxiBlue/reCaptcha/releases/tag/2.3.10 Notice that due to the changes in this ticket (to prevent double showing) there is no longer any difference between selecting Guest or Register at checkout options. I will need to rework the entire way I make the fix for this 'double display' work to solve that, and at this point I simply don't have the time. I may very well just drop both options to one in a future release: Checkout reCaptcha |
Damit, I am not winning with this one. I might have to re-loo at this entire fix. |
Ha, no, my bad, the site had teh Tick Box API keys set, not invisible, once fixed, it works as expected! (phew) |
FYI: I have a site (one only) that uses bog standard OnePage and multiple users on IOS devices claiming they cannot proceed past billing to next step. Neither myself, or client and his testers could reproduce this issue. Just letting you know (in full disclosure) that it would seem latest changes seem to be causing some form of issue. I am currently considering archiving this module, as I don;t have time to spend on it due to workload. Just be aware there could be an issue excluding clients using site form actioning checkout. |
@ProxiBlue , following #56 , I just installed the newest version. |
Magento version?
…On Thu, 24 Jun 2021, 16:42 Ole Schäfer, ***@***.***> wrote:
@ProxiBlue <https://github.com/ProxiBlue> , following #56
<#56> , I just installed the
newest version.
Unfortunately, the invisible reCaptcha is not validated any more in the
checkout.
Please activate the logging and try to go through the checkout. The fields
are there, but no validation happens.
As far as I see, this is somehow related to your check in_array($this->_originalFormId,
$this->_forms) in \ProxiBlue_ReCaptcha_Model_Recaptcha::isRequired.
This works when the question is if the check should be added, but not any
more when it is called to decide if it should get validated or not.
Please be so kind and take another look into that.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#43 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGDJVDTX6DRTB7NXLURVOLTULVW7ANCNFSM4KC5WLAA>
.
|
1.9.4.5 with all Mage One Patches applied. But I actually expect it to be a general issue, independent of the Magento version. When I debug into |
Ok, I honestly don't have the time right now to debug this. I had a cursory glance at the code, and to be frank, it has become a bit of a hacky mess, and likely requires a major refactor Due to my current schedule, and paid for deadlines, I simply cannot spend time on this for a few weeks. I am at present considering to archive this module, as I woudl prefer to not have a broken module available for general use. |
The only thing that change din the latest version is the usage of prototype 1.7.1, which could also be involved with the issue. |
Hi,
for some reason the reCapture shows up twice on the "one page checkout".
The first has the id "captcha-925-input-box-guest_checkout"
The second has the id "captcha-883-input-box-register_during_checkout"
Could you please help me to solve the problem.
Best Regards
Peter
The text was updated successfully, but these errors were encountered: