Details
Description
The proper resolution to this issue is to use the newer version of ReCaptcha.
ReCaptcha does not appear on order forms any longer when registering a client. We'll need to look into the cause and correct it.
See http://www.blesta.com/forums/index.php?/topic/5690-recaptcha-not-working-on-order-forms/
Issue Links
- relates to
-
CORE-2096 Order: Update ReCaptcha from v1.0 to v2.0
- Closed
Activity
Tyson Phillips (Inactive)
created issue -
Automated transition triggered when Tyson Phillips (Inactive) created a branch in Stash -
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | In Progress [ 3 ] |
Tyson Phillips (Inactive)
made changes -
Assignee | Tyson Phillips [ tyson ] |
Tyson Phillips (Inactive)
made changes -
Description |
ReCaptcha does not appear on order forms any longer when registering a client. We'll need to look into the cause and correct it.
See http://www.blesta.com/forums/index.php?/topic/5690-recaptcha-not-working-on-order-forms/ |
The proper resolution to this issue is to use the newer version of ReCaptcha.
---- ReCaptcha does not appear on order forms any longer when registering a client. We'll need to look into the cause and correct it. See http://www.blesta.com/forums/index.php?/topic/5690-recaptcha-not-working-on-order-forms/ |
Tyson Phillips (Inactive)
made changes -
Status | In Progress [ 3 ] | In Review [ 5 ] |
Resolution | Won't Fix [ 2 ] |
Tyson Phillips (Inactive)
made changes -
Tyson Phillips (Inactive)
made changes -
Status | In Review [ 5 ] | Closed [ 6 ] |
ReCaptcha will still display on the Standard order form template, and also when the signup form (which contains the ReCaptcha) is not loaded via AJAX.
e.g.
the /order/cart/index/ page will load /order/signup/index/ asynchronously. This will then attempt to load the ReCaptcha. It will fail because the ReCaptcha JavaScript contains 'document.write()' to load the ReCaptcha itself,
i.e.
document.write('<scr''ipt type="text/javascript" s''rc="' + RecaptchaState.server + 'js/recaptcha.js"></scr'+'ipt>');
It fails because:
"Failed to execute 'write' on 'Document': It isn't possible to write into a document from an asynchronously-loaded external script unless it is explicitly opened."
Therefore, the ReCaptcha is never loaded.