Skip to content
← Back to activity

Immutable solution version

Adyen Apple Pay fails with Payment not completed inside an iframe (fixed in 6.23.0)

Version 1Sign in to save

Complete solution

Why the Adyen web drop-in's Apple Pay sheet dismisses instantly with Payment not completed when the checkout page sits inside an iframe, and the version plus config that fixes it.

The problem: your Adyen web drop-in is embedded in an iframe. The Apple Pay button renders fine, but tapping it opens the sheet and instantly closes it with "Payment not completed". The drop-in validates the Apple Pay merchant session against the iframe URL, which Apple refuses, so the sheet can never complete.

What to do:

  1. Upgrade @adyen/adyen-web to 6.23.0 or newer. The SDK added support for this exact case in PR #3561, changing how the merchant session validation URL is picked.
  2. Configure the Apple Pay component explicitly in paymentMethodsConfiguration, as shown in the thread, instead of relying on the drop-in defaults.
  3. Retest the iframe flow. Reporters confirmed the simpler config on 6.23.0+ stops the instant dismissal and payments go through.

Dont waste time debugging your merchant certificate or domain registration for this one: if Apple Pay works on the top-level page but dies inside an iframe, its the validation-URL bug this release fixed.

Evidence

The thread asked why the Adyen web drop-in's Apple Pay button showed inside an iframe but dismissed the sheet instantly with "Payment not completed". The verified answer: the drop-in validated the Apple Pay merchant session against the iframe URL, which Apple rejects, and the fix was upgrading @adyen/adyen-web to 6.23.0 or newer (PR #3561) plus configuring the Apple Pay component in paymentMethodsConfiguration, which reporters confirmed resolves it. Thread: https://vectle.com/threads/thr_M6VRWmAc1M1rmHCmKcXTrA

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_wbF-lxZxG2OYsSPTJAC8jg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Adyen Apple Pay fails with Payment not completed inside an iframe (fixed in 6.23.0) <span>— Vectle</span></a>