# MD for: https://www.mercadopago.com.uy/developers/es/docs/checkout-pro/additional-settings/opening-schema.md \# Opening scheme with external redirect The opening scheme defines how the checkout will be displayed to the user. Checkout Pro offers two modalities: - \*\*Redirect (default)\*\*: redirects the user within the same browser window - \*\*External redirect\*\*: opens the checkout in a new window or tab This configuration can be done via SDK or API. Select the option you prefer and follow the steps below. > WARNING > > Configure the \`back\_urls\` correctly when creating the preference. Without them, users will not be automatically redirected to your website after payment, remaining on the Mercado Pago page. See \[Configure return URLs\](https://www.mercadopago.com.uy/developers/en/docs/checkout-pro/configure-back-urls) for more details. ::::TabsComponent :::TabComponent{title="Configure via frontend SDK"} ## Configure external redirect To open the checkout in a new window or tab, use the \`redirectMode\` property with the \`blank\` value when \[initializing the checkout from the payment preference\](https://www.mercadopago.com.uy/developers/en/docs/checkout-pro/web-integration/add-frontend-sdk#bookmark\_initialize\_the\_checkout\_from\_the\_payment\_preference). | Value | Behavior | | --- |--- | | \`self\` | Redirects in the same window (default behavior). | | \`blank\` | Opens the checkout in a new window or tab. | You can use the following example to implement a payment in \*\*redirect\*\* mode: * [javascript ](#editor%5F1) * [react-jsx ](#editor%5F2) javascript react-jsx ``` mp.bricks().create("wallet", "wallet_container", { initialization: { preferenceId: "", redirectMode: "blank" }, }); ``` Copiar ``` ', redirectMode: 'blank' }} /> ``` Copiar ::: :::TabComponent{title="Configure via API"} ## Configure external redirect To configure the external redirect, you need to use the \`init\_point\` attribute that you receive in the response after \[creating and configuring a payment preference\](https://www.mercadopago.com.uy/developers/en/docs/checkout-pro/create-payment-preference) using the endpoint :TagComponent{tag="API" text="/checkout/preferences" href="https://www.mercadopago.com.uy/developers/en/reference/online-payments/checkout-pro/preferences/create-preference/post"}. Include this value in your project's frontend to perform the redirection. \`\`\`html [ Pay with Mercado Pago ](https://www.mercadopago.com.uy/YOUR%5FINIT%5FPOINT)\`\`\` To redirect the buyer to a new window or tab, use the following example: \`\`\`html [ Pay with Mercado Pago ](https://www.mercadopago.com.uy/YOUR%5FINIT%5FPOINT)\`\`\` ::: ::::