---
title: How to Add reCAPTCHA to the Offer Form
description: "Stop spam on the WooCommerce offer form with a Google reCAPTCHA v2 checkbox: create keys and enable the field."
url: "https://wpfactory.com/docs/woocommerce-offer-form-recaptcha/"
updated: "2026-09-27"
category: How to
---

# How to Add reCAPTCHA to the Offer Form

To add reCAPTCHA to the offer form in [Name Your Price: Make Your Own Offer for WooCommerce](https://wpfactory.com/item/price-offers-for-woocommerce/), create Google reCAPTCHA v2 checkbox keys, then go to WPFactory > Price Offers > Form, add reCAPTCHA to Enabled fields, enter your site key and secret key, and save changes. This feature is free.

### Before you start

- WooCommerce, active.
- A Google reCAPTCHA v2 site key and secret key (free from Google).

### Step 1: Create reCAPTCHA keys

1. Go to the [Google reCAPTCHA admin](https://www.google.com/recaptcha/admin/create).
2. Choose **Challenge (v2)**, then **"I'm not a robot" Checkbox**.
3. Add your domain and submit to get a **site key** and a **secret key**.

### Step 2: Enable the reCAPTCHA field

1. Go to **WPFactory > Price Offers** (also reachable at **WooCommerce > Settings > Price Offers**) and open the **Form** section.
2. Add **reCAPTCHA** to **Enabled fields** (`alg_wc_price_offerings_form[enabled_fields]`).
3. Enter your keys in **reCAPTCHA** (`alg_wc_price_offerings_form[recaptcha_site_key]`) and **Secret key** (`alg_wc_price_offerings_form[recaptcha_secret_key]`).
4. Optionally change the **Error message** (`alg_wc_price_offerings_form[recaptcha_error_msg]`, default "reCAPTCHA check failed.").
5. Save changes.

### How it works

Once enabled, the offer form shows the reCAPTCHA checkbox and loads Google's reCAPTCHA script. When a customer submits an offer, the plugin verifies the response with Google's servers. If the check fails, the offer is not submitted and the error message is shown. The reCAPTCHA field only loads when it is enabled, so there is no performance impact if you leave it off.

### Options reference

| Label | Option ID | Default |
| --- | --- | --- |
| reCAPTCHA site key | `alg_wc_price_offerings_form[recaptcha_site_key]` | Empty |
| Secret key | `alg_wc_price_offerings_form[recaptcha_secret_key]` | Empty |
| Error message | `alg_wc_price_offerings_form[recaptcha_error_msg]` | reCAPTCHA check failed. |

### Get more from Name Your Price

reCAPTCHA on the offer form is free. [Name Your Price: Make Your Own Offer for WooCommerce](https://wpfactory.com/item/price-offers-for-woocommerce/) Pro adds per-product targeting and automatic accept/reject rules. [See what Pro unlocks](https://wpfactory.com/item/price-offers-for-woocommerce/).

Related articles

- [How to Customize the Make an Offer Button and Form](https://wpfactory.com/docs/display-customize-make-offer-form/)
- [How to Restrict Payment Gateways for Accepted Offers](https://wpfactory.com/docs/woocommerce-restrict-payment-gateways-offers/)
- [How to Prevent Duplicate Price Offers](https://wpfactory.com/docs/woocommerce-prevent-duplicate-offers/)
- [How to Auto-Complete Offers After Purchase](https://wpfactory.com/docs/woocommerce-auto-complete-offers/)
- [Counter Offers & Email Sender](https://wpfactory.com/docs/counter-sender-options/)
