PHPackages                             rangerz/magento2-module-re-captcha-checkout - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. rangerz/magento2-module-re-captcha-checkout

ActiveMagento2-module[Security](/categories/security)

rangerz/magento2-module-re-captcha-checkout
===========================================

Add Google reCaptcha for place order against carding attack

1.0.0(5y ago)72.4k1MITPHPPHP &gt;=7.4

Since Apr 15Pushed 3y ago1 watchersCompare

[ Source](https://github.com/rangerz/magento2-module-re-captcha-checkout)[ Packagist](https://packagist.org/packages/rangerz/magento2-module-re-captcha-checkout)[ RSS](/packages/rangerz-magento2-module-re-captcha-checkout/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Rangerz\_ReCaptchaCheckout
==========================

[](#rangerz_recaptchacheckout)

Add Google reCaptcha for place order against carding attack

 [![Supported Magento Versions](https://camo.githubusercontent.com/1214aa32d2599a203a9a3c20372da925d5e5359ff6693630a4301debd4b5eb6c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6167656e746f2d322e342d627269676874677265656e2e7376673f6c6f676f3d6d6167656e746f266c6f6e6743616368653d74727565)](https://camo.githubusercontent.com/1214aa32d2599a203a9a3c20372da925d5e5359ff6693630a4301debd4b5eb6c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6167656e746f2d322e342d627269676874677265656e2e7376673f6c6f676f3d6d6167656e746f266c6f6e6743616368653d74727565) [![Latest Stable Version](https://camo.githubusercontent.com/1769e144ab2a7d6689ab697510d8df79513eef2c72d08055cb95b52c9ab17e42/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72616e6765727a2f6d6167656e746f322d6d6f64756c652d72652d636170746368612d636865636b6f75742e737667)](https://packagist.org/packages/rangerz/magento2-module-re-captcha-checkout) [![Composer Downloads](https://camo.githubusercontent.com/c05fd89c985b6c8f4632c8e0023054127faf4d893428aef52d2b8ca5d1d0ce47/68747470733a2f2f706f7365722e707567782e6f72672f72616e6765727a2f6d6167656e746f322d6d6f64756c652d72652d636170746368612d636865636b6f75742f646f776e6c6f616473)](https://packagist.org/packages/rangerz/magento2-module-re-captcha-checkout) [![Maintained - Yes](https://camo.githubusercontent.com/35e54c226c23f676d4cc29a21ef0905b980417db116ef3daef5ea61bbfd99321/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65642533462d7965732d627269676874677265656e2e737667)](https://github.com/rangerz/magento2-module-re-captcha-checkout/graphs/commit-activity) [![](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://opensource.org/licenses/MIT)

Summary
-------

[](#summary)

- Because [Carding Attack](https://github.com/magento/magento2/issues/28614) serious issue, this repo was born.
- Tested against forged place order [attack script](https://gist.github.com/magenx/bdc56bf568caa3c23b2217055aef17b2), follow by the rest url and place order method

    - /V1/guest-carts/:cartId/payment-information
        - `Magento\Checkout\Model\GuestPaymentInformationManagement::savePaymentInformationAndPlaceOrder()`
    - /V1/carts/mine/payment-information
        - `Magento\Checkout\Model\PaymentInformationManagement::savePaymentInformationAndPlaceOrder()`
- Support Magento 2.4.1 and upper.
- Wrok for `Braintree Credit Card` with `Google reCaptcha v2 invisible` **ONLY**. No test other cases.

[![recaptcha-placeorder](https://camo.githubusercontent.com/19900e9f1d89795fc6827d08adb38e8ee96ff9775be923cb8b957438d10bf2c7/68747470733a2f2f692e696d6775722e636f6d2f414342654273652e706e67)](https://camo.githubusercontent.com/19900e9f1d89795fc6827d08adb38e8ee96ff9775be923cb8b957438d10bf2c7/68747470733a2f2f692e696d6775722e636f6d2f414342654273652e706e67)

- This module will be replaced by future version of [magento/security-package](https://github.com/magento/security-package).

Installation
------------

[](#installation)

```
composer require rangerz/magento2-module-re-captcha-checkout
bin/magento module:enable Rangerz_ReCaptchaCheckout
bin/magento setup:upgrade

```

Usage
-----

[](#usage)

### Google reCaptcha v2 invisible

[](#google-recaptcha-v2-invisible)

- Apply reCaptcha v2 invisible by [Google](https://www.google.com/recaptcha/admin)
- Fille website and secret key
- Configuration -&gt; SECURITY -&gt; Google reCAPTCHA Storefront -&gt; reCAPTCHA v2 Invisible

[![reCaptcha v2 invisible](https://camo.githubusercontent.com/37e3134e05725b3f4b0b92a966389f1d7bab105d60a69d4faefcb56adc7cc07e/68747470733a2f2f692e696d6775722e636f6d2f526946395249452e706e67)](https://camo.githubusercontent.com/37e3134e05725b3f4b0b92a966389f1d7bab105d60a69d4faefcb56adc7cc07e/68747470733a2f2f692e696d6775722e636f6d2f526946395249452e706e67)

### Enable for Place Order

[](#enable-for-place-order)

- Configuration -&gt; SECURITY -&gt; Google reCAPTCHA Storefront -&gt; Storefront

[![Enable for Place Order](https://camo.githubusercontent.com/b6a157ae0459e759640f90ea4d5342d31db15a453c61c2375760352ab75404d3/68747470733a2f2f692e696d6775722e636f6d2f726c44456f4e652e706e67)](https://camo.githubusercontent.com/b6a157ae0459e759640f90ea4d5342d31db15a453c61c2375760352ab75404d3/68747470733a2f2f692e696d6775722e636f6d2f726c44456f4e652e706e67)

License
-------

[](#license)

[MIT](https://opensource.org/licenses/MIT)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1854d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1aa03a02da1df69375ce1b87873f7c3b6d6c6334f7b5f3147da3c2ce3c33c344?d=identicon)[rangerz](/maintainers/rangerz)

---

Top Contributors

[![rangerz](https://avatars.githubusercontent.com/u/3338473?v=4)](https://github.com/rangerz "rangerz (6 commits)")

### Embed Badge

![Health badge](/badges/rangerz-magento2-module-re-captcha-checkout/health.svg)

```
[![Health](https://phpackages.com/badges/rangerz-magento2-module-re-captcha-checkout/health.svg)](https://phpackages.com/packages/rangerz-magento2-module-re-captcha-checkout)
```

###  Alternatives

[veriteworks/cookiefix

Magento2 extension for Cookie SameSite attribute.

65455.3k1](/packages/veriteworks-cookiefix)[imi/magento2-friendly-captcha

Friendly Captcha integration for Magento2

18116.2k](/packages/imi-magento2-friendly-captcha)[basecom/magento2-csp-split-header

Magento 2 module to split oversized CSP headers into multiple headers.

5256.6k](/packages/basecom-magento2-csp-split-header)[pixelopen/magento-cloudflare-turnstile

Protect your store from spam messages and spam user accounts with Cloudflare Turnstile

5325.4k1](/packages/pixelopen-magento-cloudflare-turnstile)[yireo/magento2-csp-whitelist-inline-js

Magento module to automatically add inline JS script to CSP whitelist

2974.7k](/packages/yireo-magento2-csp-whitelist-inline-js)[sansec/magento2-module-shield

14111.8k](/packages/sansec-magento2-module-shield)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
