Skip to content

Commit d25432d

Browse files
committed
Fix check for place-order-recaptcha component within place-order-recaptcha-container
1 parent d0764a0 commit d25432d

File tree

1 file changed

+2
-1
lines changed
  • ReCaptchaCheckout/Block/LayoutProcessor/Checkout

1 file changed

+2
-1
lines changed

ReCaptchaCheckout/Block/LayoutProcessor/Checkout/Onepage.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ public function process($jsLayout)
7979
['place-order-recaptcha']['settings'] = $this->captchaUiConfigResolver->get($key);
8080
} else {
8181
if (isset($jsLayout['components']['checkout']['children']['steps']['children']['billing-step']['children']
82-
['payment']['children']['beforeMethods']['children']['place-order-recaptcha'])) {
82+
['payment']['children']['beforeMethods']['children']['place-order-recaptcha-container']['children']
83+
['place-order-recaptcha'])) {
8384
unset($jsLayout['components']['checkout']['children']['steps']['children']['billing-step']['children']
8485
['payment']['children']['beforeMethods']['children']['place-order-recaptcha-container']
8586
['children']['place-order-recaptcha']);

0 commit comments

Comments
 (0)