rangerz / magento2-module-re-captcha-checkout

Add Google reCaptcha for place order against carding attack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rangerz_ReCaptchaCheckout

Add Google reCaptcha for place order against carding attack

Supported Magento Versions Latest Stable Version Composer Downloads Maintained - Yes

Summary

  • Because Carding Attack serious issue, this repo was born.

  • Tested against forged place order attack script, 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

Installation

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

Usage

Google reCaptcha v2 invisible

  • Apply reCaptcha v2 invisible by Google

  • Fille website and secret key

  • Configuration -> SECURITY -> Google reCAPTCHA Storefront -> reCAPTCHA v2 Invisible

reCaptcha v2 invisible

Enable for Place Order

  • Configuration -> SECURITY -> Google reCAPTCHA Storefront -> Storefront

Enable for Place Order

License

MIT

About

Add Google reCaptcha for place order against carding attack

License:MIT License


Languages

Language:PHP 79.7%Language:JavaScript 20.3%