Model
WebapiConfigProvider
Magento\ReCaptchaCheckoutSalesRule\Model\WebapiConfigProvider
What it does
This class determines whether reCAPTCHA validation should be applied to coupon code operations in checkout.
It checks if reCAPTCHA is enabled for coupon codes and provides the validation configuration for both REST API and GraphQL endpoints that handle applying coupons to carts, protecting against automated coupon abuse.
Public Methods
- getConfigFor()