Miva Merchant Development by Scot's Scripts

RECAPTCHA: Use Miva Recaptcha v3 on Any Form

Miva Random Code Trivia

Want to start an online store? We work with you from start to finish, from commerce platform to design to SEO.
Experience counts, and we have a lot.

WARNING:

This information is offered "AS IS" for internal reference only. Use at your own risk.
Does AI actually understand your Miva Merchant store? Our smart JSON-LD schema generator makes sure it does. Contact us to get started. (more info)
SEO Audit & Inquiries • News & Updates • SEO for Miva Merchant

RECAPTCHA: Use Miva Recaptcha v3 on Any Form

THIS CODE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED;
THE AUTHOR DISCLAIMS ALL LIABILITY FOR ANY DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR STORE DISRUPTIONS ARISING FROM ITS USE.

Scot Ranney • July 01, 2024


Requirements: Install the miva recaptcha v3 module and make sure it's all set up with the api code etc...

Step 1

Add a hidden action var to the form if it doesn't already have one.

Example:

<form method="post" action="/">

<input type="hidden" action="GET_QUOTE">

... form stuff and submit button ...

</form>

Step 2

Go to the Utility Settings tabs and find the reCAPTCHA v3 Action Configuration tab and open it and click the blue ADD ACTION button.

Step 3

Fill out the fields.

1. Miva Form Action: The value of g.action in the hidden field

2. reCAPTCHA V3 Action: Anything you want

3. Error Page: Whatever you want, not sure what the error variabl eis

4. CSS Query Selector: Some sort of CSS/JS rendition of the action variable. Pattern is the same for any form.

5. Make it active if you're ready.

6. Save.

Add Action Form for Example Above


https://www.scotsscripts.com/mvblog/recaptcha-use-miva-recaptcha-v3-on-any-form.html

recaptcha