Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@graphcommerce/googlerecaptcha

Package Overview
Dependencies
Maintainers
0
Versions
519
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphcommerce/googlerecaptcha

This package makes it easy to add [Google Recaptcha v3](https://developers.google.com/recaptcha/docs/v3) to GraphCommerce. It allows you to load the Recatcha script conditionally on the page so it isn't initialized on all pages.

  • 8.0.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.4K
increased by39.67%
Maintainers
0
Weekly downloads
 
Created
Source

@graphcommerce/googlerecaptcha

This package makes it easy to add Google Recaptcha v3 to GraphCommerce. It allows you to load the Recatcha script conditionally on the page so it isn't initialized on all pages.

Configuration

  1. Configure the following (configuration values) in your graphcommerce.config.js

  2. Add X-Recaptcha header to your .meshrc.yml if it isn't there. example

Usage

If you have a form that uses GoogleRecaptcha make sure you are using one of ApolloErrorAlert, ApolloErrorFullPage and ApolloErrorSnackbar components. This will activate the Google Recaptcha plugins.

Troubleshooting

ReCaptcha validation failed, please try again
: Magento is configured correctly and this is an error coming from Google directly. You have misconfigured something on the Google side. Make sure the domains are set up correctly, etc.

FAQs

Package last updated on 14 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc