Announcement

Collapse
No announcement yet.

New Recaptcha & CRM issues

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • New Recaptcha & CRM issues

    Just some info on a couple issues I came across. Hopefully it helps others with similar issues.

    Submitting CRM new recaptcha

    Issue: A customer is able to submit a CRM ticket fine with the new recaptcha. After they submit it takes you to the ticket page. In this ticket it is missing the recaptcha, so every time a customer tries to respond the system gives an error message 55 (Invalid Verification Word).

    Basically 3dCart support told me "When we did the update to 7.6.0 we updated the re-captcha, so if these pages were modified, the verification would have issues". So either you'll need to revert back to the default template, which has the new code or update your edited crm.html page with the new code. Below is the code that 3dCart had provided. Use at your own risk!!!!

    <!--START: recaptcha-->
    <div class="crmField">
    <label for="recaptcha_challenge_field">Verification:</label>
    <div class="recaptcha">
    <script type="text/javascript">var RecaptchaOptions = { theme: '[recaptcha_theme]' };</script>
    <script type="text/javascript" src="//www.google.com/recaptcha/api/challenge?k=[recaptcha_key]"></script>
    <noscript>
    <iframe src="//www.google.com/recaptcha/api/noscript?k=[recaptcha_key]" height="300" width="500" frameborder="0"></iframe><br>
    <textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea>
    <input type="hidden" name="recaptcha_response_field" value="manual_challenge">
    </noscript>
    </div>
    <div class="clear"></div>
    </div>
    <!--END: recaptcha-->
    <!--START: recaptcharobot-->
    <script type="text/javascript">
    var onSubmit = function (token) {
    if ('[recaptcha_robot_size]' == 'invisible')
    jQuery("#frmForm").submit();
    }
    var onloadCallback = function () {
    grecaptcha.render('[recaptcha_control]', {
    'sitekey': '[recaptcha_key]',
    'theme': '[recaptcha_robot_theme]',
    'size': '[recaptcha_robot_size]',
    'type': '[recaptcha_robot_type]',
    'callback': onSubmit
    });
    }
    </script>
    <script src="//www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit" async defer></script>
    <div id="divRobocop"></div>
    <div class="crmField">
    <!--START: verificationlabel--><label for="recaptcha_challenge_field">Verification:</label><!--END: verificationlabel-->
    </div>
    <!--END: recaptcharobot-->



    CRM Email


    Issue: Second problem is the html version for the email template 'CRM - Reply' (Only if using version 3) is missing the code that provides the customer with the URL to the CRM ticket. The text version is fine. So basically the customers are receiving your responses to the CRM, but have no way of opening the a link for the CRM ticket (HTML version only). 3dCart confirmed this is a global issue after they checked a couple other stores.


    Below is the code that should provide the customer the url link. I got code from one of my other stores that's still on version 2 of the CRM - Reply template. Use at your own risk!!!!


    <p style="color: #333; font-family: 'Helvetica', 'Arial', sans-serif; font-weight: normal; text-align: left; line-height: 17px; font-size: 12px; margin: 0 0 10px; padding: 0;" align="left">
    You can reply to this ticket status by visiting this web page: [store_url]/crm.asp?mk=[messagekey]. Please allow 24-48 hours for a reply.
    </p>

    Last edited by JoeBTI; 06-02-2017, 10:12 AM.

  • #2
    thanks for sharing the code - have tweaked our CRM reply without the url code since we have our set up so customers can email us back directly on the email that is sent to them with the CRM. Have rearranged a lot of the coding as there are 2 subject areas on the CRM replies - we took out one of them and moved our reply towards the top of the email. As far as customers sending us CRM's ours was all messed up as well and had to revert back to the original version of the CRM and then tweak it will our personalized wording. RECAPTCHA is working again but at the time of the update it was all chaos for a bit.

    Comment

    Working...
    X