Skip to content

Conversation

@gulshankumar
Copy link

Resolve checkout config provider name is in conflict with paypal/module-braintree-core module's config rovider

Description (*)

This PR is to resolve conflict in name with config provider which results in fixing Invisible captcha not working with PayflowPro in Magento Commerce

Fixed Issues (if relevant)

V3 Invisible Captcha not working with Payflopro Payment Method

…le-braintree-core module's config rovider This PR is to resolve conflict in name with config provider which results in fixing Invisible captcha not working with PayflowPro in Magento Commerce
<arguments>
<argument name="configProviders" xsi:type="array">
<item name="recaptcha_config_provider" xsi:type="object">Magento\ReCaptchaPaypal\Model\CheckoutConfigProvider</item>
<item name="paypal_recaptcha_config_provider" xsi:type="object">Magento\ReCaptchaPaypal\Model\CheckoutConfigProvider</item>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this should be namespaced as magento_recaptcha_config_provider or maybe magento_paypal_recaptcha_config_provider and the provider in paypal/module-braintree-core should be namespaced as paypal_recaptcha_config_provider.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<item name="paypal_recaptcha_config_provider" xsi:type="object">Magento\ReCaptchaPaypal\Model\CheckoutConfigProvider</item>
<item name="magento_paypal_recaptcha_config_provider" xsi:type="object">Magento\ReCaptchaPaypal\Model\CheckoutConfigProvider</item>
@nathanjosiah
Copy link
Contributor

Created issue #307 to track

<arguments>
<argument name="configProviders" xsi:type="array">
<item name="recaptcha_config_provider" xsi:type="object">Magento\ReCaptchaPaypal\Model\CheckoutConfigProvider</item>
<item name="paypal_recaptcha_config_provider" xsi:type="object">Magento\ReCaptchaPaypal\Model\CheckoutConfigProvider</item>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<item name="paypal_recaptcha_config_provider" xsi:type="object">Magento\ReCaptchaPaypal\Model\CheckoutConfigProvider</item>
<item name="magento_paypal_recaptcha_config_provider" xsi:type="object">Magento\ReCaptchaPaypal\Model\CheckoutConfigProvider</item>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants