<?xml version="1.0"?>
<!--
/**
 * Copyright 2021 Adobe
 * All Rights Reserved.
 */
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <!-- WebApi Validation -->
    <preference for="PayPal\Braintree\Model\Recaptcha\IsCaptchaApplicableForRequestInterface"
                type="PayPal\Braintree\Model\Recaptcha\IsCaptchaApplicableForRestRequest" />
    <type name="Magento\ReCaptchaCheckout\Model\WebapiConfigProvider">
        <plugin name="PayPal_Braintree::DisableReCaptchaWebapiApiRestPlaceOrderValidationPlugin"
                type="PayPal\Braintree\Plugin\DisableReCaptchaWebapiApiRestPlaceOrderValidation" />
    </type>
</config>
