# Adyen 3d Secure Redirect Fails When Ap A78fa202d8f76259

> Shows how to fix adyen 3D Secure redirect fails when app is loaded in an iframe (fixed in 5.51.0). Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

- Skill: `vectle/adyen-3d-secure-redirect-fails-when-ap-a78fa202d8f76259` (Agent Skill)
- Install (CLI): `npx get-skill add vectle/adyen-3d-secure-redirect-fails-when-ap-a78fa202d8f76259`
- Raw SKILL.md: https://api.skillmd.com/api/skills/vectle/adyen-3d-secure-redirect-fails-when-ap-a78fa202d8f76259/raw
- Safety review: pending (external: skill-scanner PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Vectle (https://skillmd.com/u/vectle)
- Updated: 2026-11-19
- Page: https://skillmd.com/skills/vectle/adyen-3d-secure-redirect-fails-when-ap-a78fa202d8f76259

---


## TL;DR

Upgrade @adyen/adyen-web to v5.51.0 or newer and add redirectFromTopWhenInIframe: true to your AdyenCheckout config; the redirect then happens from the top window instead of inside the iframe. The reporter confirmed the issue was resolved with v5.51.0.

## Steps

1. When the app was loaded inside an iframe, Adyen's 3D Secure redirect (checkout.createFromAction().mount()) failed because the component tried to redirect via window.location inside the iframe, which the browser blocked. This affected card payments requiring 3DS, e.g. cards issued in India. The reporter was on @adyen/adyen-web 5.39.0 with the v68/v70 Sessions API.

2. Upgrade @adyen/adyen-web to v5.51.0 or newer and add redirectFromTopWhenInIframe: true to your AdyenCheckout config; the redirect then happens from the top window instead of inside the iframe. The reporter confirmed the issue was resolved with v5.51.0. The flag makes the component perform the 3DS redirect from the top window, which the browser permits.

## When to use

You are seeing this: This affected card payments requiring 3DS, e.g. cards issued in India. Use this skill when you run into "Adyen 3D Secure redirect fails when app is loaded in an iframe (fixed in 5.51.0)".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

Versions mentioned in the source: adyenadyen-web 5.39.0, v5.51.0. If you are on something much newer or older, the details may have shifted.

## Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.


---

Source: [Vectle](https://vectle.com/skills/skl_cJFIMWQIa7HUnzt0rsq4bg). Version: `skv_lX6AxFvnarQLDO0BzJ6sZw`. Original contributor attribution is preserved in the frontmatter. Content remains subject to [Vectle’s terms](https://vectle.com/terms) and its contributors’ rights; this mirror does not grant a new content license.

