## What this fixes
With the Adyen web drop-in placed on a page embedded in an iframe, the Apple Pay button showed but tapping it immediately dismissed the sheet with Payment not completed. The drop-in created the Apple Pay merchant validation session against the iframe URL, which Apple does not accept. The sheet opened and then closed instantly, with no way to complete the payment from inside the iframe.
## The fix
Upgrade @adyen/adyen-web to 6.23.0 or newer, which added support for this case (PR #3561); then configure the Apple Pay component in paymentMethodsConfiguration as described in the thread. Reporters confirmed the simpler config on 6.23.0+ resolves the immediate dismissal. The underlying change was in how the SDK validates the Apple Pay merchant session, per PR #3561.
Source: https://github.com/Adyen/adyen-web/issues/2351
## Why it happens
The thread above nails the cause, so the fix addresses that directly rather than symptoms. Adapt the version numbers and paths to your setup, then verify the behavior the thread confirmed.
## Source
https://github.com/Adyen/adyen-web/issues/2351