msrecap

Verification of the user before sending the order using reCaptcha v3
Free
Download the package from the manager of your site.
How to download?
The author
Stepan
Packages
1
Downloads
5
Автор дополнения
Packages
1
Downloads
5
Version 0.0.8-alfa
Release date 03.08.2023
Downloads 5
Views 292
Warning! This component requires PHP version 7.4 or higher! If your site uses PHP less than required, the installation of this package could break it.
Warning! This package requires MODX not less than 2.8 !
Extensions for minishop

Checks for spam, using reCapcha v3, sending an order to MiniShop.
On the front works with the event 'Order.submit.before'
Before each submission, it updates the token and adds it to the order submission form.
Further, the MODX msOnSubmitOrder event checks the sent token on the google server.
Accordingly, if the check is not passed, you will receive a notification about this. In principle, nothing has changed for live users, but it will be more difficult for bots.

The extension depends on jquery

to get Recapcha v3 keys follow https://www.google.com/recaptcha/admin/create

Settings
keys are set in system settings


PS
if there are wishes, I will make a setting so that reCapcha is loaded only in the basket
  • Исправление для костомных категорий ядра и асесиов
  • улучшена работа с корзиной