---
title: Redirect (deprecated)
description: 'Deprecated web integration models for Card Not Present Verification: window.open() and full-page redirect. Prefer the SDK for better conversion.'
canonical: https://developer.unico.io/dual-api/developers/regional-solutions/card-not-present-verification/integration/controlling-the-experience/web/redirect-deprecated
locale: en
generated_by: markdown-export
---

:::warning
This method of controlling the web experience is being deprecated. For better conversion of Card Not Present Verification in your application, follow the method outlined in the [SDK](./sdk) section.
:::

The web version offers the option to use the redirect model, but the iframe model is the most recommended.

### 1) Using `window.open()`

When creating the transaction, the `redirectUrl` field was passed as a parameter, which will be used later. You can use this option.

The `window.open()` option consists of opening a new browser tab for the user to complete the capture flow. Once done, the tab will close and redirect back to the previously visited site. We recommend:

- Follow the [public documentation on `window.open()`](https://developer.mozilla.org/en-US/docs/Web/API/Window/open);
- Monitor if the URL has changed (to the `redirectUrl`), and then close the tab using `window.close()`.

### 2) Using redirect

When creating the transaction, the `redirectUrl` field was passed as a parameter, which will be used later. You need to follow these steps:

- In your regular flow (where Card Not Present Verification is integrated), you will redirect the customer to the link generated via the API;
- After this, the customer within the Card Not Present Verification webpage will complete the necessary steps to continue the flow;
- Once completed, they will be redirected back to your page (using the `redirectUrl` passed when creating the transaction).