Configuration de reCAPTCHA v2

Si vous avez installé ou mis à niveau MemberMouse après le 19 janvier 2021 vers MemberMouse v2.4.0+, reCAPTCHA v3 est disponible à la configuration et c'est la version qu'il est recommandé d'utiliser. 

Si vous souhaitez en savoir plus sur le fonctionnement de reCAPTCHA v3 sur votre site, vous pouvez consulter le site suivant Configuration de reCAPTCHA v3.

NOTE lors de la mise à jour vers la version 2.4.0+ à partir d'une version précédente : Si vous avez déjà configuré reCAPTCHA sur votre site, vous devrez le réactiver après la mise à jour en allant sur Paramètres de paiement > reCAPTCHA and click the checkbox next to ‘Enable reCAPTCHA on All Checkout Forms’.


In order to add reCAPTCHA v2 validation to your checkout forms, first, you’ll configure reCAPTCHA v2 on your site as outlined below and then you’ll need to inclure un champ reCAPTCHA dans votre formulaire de paiement à l'aide d'un SmartTag.

1. Configurez reCAPTCHA v2 sur votre site
  1. Dans le cadre de la Souris du membre cliquer sur Paramètres de paiement > reCAPTCHA.

  2. Choose ‘reCAPTCHA v2’.

  3. If you don’t have a reCAPTCHA account, click the Créer un compte gratuit pour en créer un nouveau. Si vous avez déjà un compte, cliquez sur le bouton Google reCAPTCHA Admin bouton.  

  4. Once inside your Google reCAPTCHA Admin interface, you may need to register your site in order to create site keys. Click on the ‘+’ icon in the upper right corner to do this. You’ll fill out the fields as prompted on the form provided by Google. Choose ‘reCAPTCHA v2’ and select the type of test that you’d like to show your users.

  5. Once you’ve registered your site, then you’ll be returned to the Google reCAPTCHA Admin console. Select your site from the dropdown menu in the upper left corner. Then click on the Settings icon in the upper right corner to access your reCAPTCHA keys.

  6. Copiez la clé du site dans le fichier Clé du site domaine.

  7. Copiez la clé secrète dans le fichier Clé secrète domaine.  

  8. Click the ‘Save Settings’ button.
2. Ajouter un champ reCAPTCHA au formulaire de paiement

When reCAPTCHA is enabled, customers will verify they’re not a robot by clicking on a checkbox in teh reCAPTCHA field. In order to include the reCAPTCHA field, you need to place a SmartTag on the default checkout core page and any other pages where you are using a checkout form.

  1. Copiez le SmartTag suivant pour l'inclure dans votre formulaire de paiement :
    [MM_Form_Field type='input' name='captcha']

  2. Place the SmartTag between the [ MM_Form type=’checkout’ ] and [ /MM_Form ] SmartTags on the default checkout core page and any other pages where you are using a checkout form. After this SmartTag has been included in the checkout form MemberMouse will require that the customer pass the reCAPTCHA v2 test in order for the form to be submitted.
Cet article a-t-il été utile ?

Articles connexes

Vous ne trouvez pas la réponse que vous cherchez ?

Contactez notre équipe chargée de la réussite des clients
Contactez nous !