Vtex apps¶
For Vtex apps, Eitri App Shopping uses Google Recaptcha V3 by default. Click here to know more about Google Recaptcha.
To use it in your app you need to:
- Create a new google recaptcha score based v3
- If needed, select Web key type
- Add Eitri domains (
app.eitri.tech/release.eitri.calindra.com.br) - Select in wich project will be created your captcha
- Create an API key within the same project where the captcha was created
- Follow Vtex configuration to setup captcha on your cart. Fill parameters as shown bellow:
{
"clientId": <SITE_KEY>,
"clientSecret": <GOOGLE_API_KEY>,
"projectId": <GOOGLE_PROJECT_ID>,
"label": <CAPTCHA_IDENTIFIER>,
"score": <OPTIONAL>
}
Info
Google Project ID is not the project name, check your exact id
Info
After creating it will should get site key and secret key. You'll need to use the site key in your vtex configuration (you can ignore secret key for this process since it's not used in this configuration). To know more about configuring your vtex account, click here
Info
Google Recaptcha uses Google Cloud Platform infrastructure. To use it, you will need a GCP account.
Wake apps¶
In apps integrated with Wake, Eitri App Shopping does not use reCAPTCHA, so you must create a token for the app with reCAPTCHA disabled.
To create a token for the app go to your Wake panel:
- Click in Storefront in sidebar menu
- Go to Tokens
- Create a new token and make sure reCAPTCHA configurations are disable for every section avaliable
Once it's created you can configure your app to use this token accessing your apps environment in Eitri Console.