Subscribe to our email and get updates right in your inbox

How to Integrate reCAPTCHA V2

Estimated reading: 2 minutes 363 views

This guide explains how to set up reCAPTCHA V2 with WP Easy Pay to protect your payment forms from spam and automated submissions.

What is reCAPTCHA V2?

ReCAPTCHA V2 is a security feature by Google that adds a visible verification step, usually a checkbox saying “I’m not a robot”. It helps confirm that the form is being submitted by a real user.

When to Use reCAPTCHA V2

  • When you want visible user verification
  • When you prefer a simple and clear security check
  • When protecting donation, simple payment, or checkout forms

Step-by-Step Integration Guide

Step 1: Register Your Website for reCAPTCHA V2

  1. Open the Google reCAPTCHA admin panel.
  2. Add a new site.
  3. Enter a label for identification.
  4. Select reCAPTCHA V2.
  5. Choose “I’m not a robot” Checkbox.
  6. Add your website domain.
  7. Accept the terms and submit the form.

After registration, Google will generate:

  • Site Key
  • Secret Key

Step 2: Copy reCAPTCHA Keys

  • Copy the Site Key
  • Copy the Secret Key
  • Keep both keys safe, as they will be used in WP Easy Pay settings.

Step 3: Add reCAPTCHA V2 Keys in WP Easy Pay

  1. Log in to your WordPress admin dashboard.
  2. Go to WP Easy Pay → Settings.
  3. Open the reCAPTCHA section.
  4. Enable reCAPTCHA V2.
  5. Paste the Site Key and Secret Key into the respective fields.
  6. Save the settings.

Step 4: Verify reCAPTCHA on the Frontend

  1. Open the page where the payment form is embedded.
  2. Confirm the “I’m not a robot” checkbox appears.
  3. Submit a test payment to ensure the form works correctly.

Tips & Troubleshooting

  • Checkbox not showing?
    Make sure the correct domain is added in Google reCAPTCHA settings.
  • Keys not working?
    Double-check that the Site Key and Secret Key are not swapped.
  • Using cache plugins?
    Clear the cache after enabling reCAPTCHA.
  • Test Mode Recommended
    Always test reCAPTCHA in WP Easy Pay test mode before switching to live payments.

Summary

Enabling reCAPTCHA V2 adds an extra layer of security to WP Easy Pay payment forms. This helps prevent spam, fake submissions, and automated attacks while keeping the setup simple and user-friendly.

Share this Doc

How to Integrate reCAPTCHA V2

Or copy link

CONTENTS
Scroll to Top

Subscribe

×
Cancel