Skip to content

Conversation

@AbhishekChorotiya
Copy link
Contributor

@AbhishekChorotiya AbhishekChorotiya commented Sep 18, 2025

Fixes #1214

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

The Redsys 3DS modal was not opening when is_iframe_redirection_enabled: true, as the iframeId was set incorrectly.
also added loggers

const paymentData = {
  currency: "EUR",
  amount: 2999,
  order_details: [
    {
      product_name: "Apple iPhone 15",
      quantity: 1,
      amount: 2999,
    },
  ],
  confirm: false,
  capture_method: "automatic",
  authentication_type: "three_ds",
  customer_id: "hyperswitch_sdk_demo_id",
  email: "hyperswitch_sdk_demo_id@gmail.com",
  request_external_three_ds_authentication: true,
  is_iframe_redirection_enabled: true,
  description: "Hello this is description",
  shipping: {
    address: {
      line1: "1467",
      line2: "Harrison Street",
      line3: "Harrison Street",
      city: "San Fransico",
      state: "Ceuta",
      zip: "94122",
      country: "ES",
      first_name: "joseph",
      last_name: "Doe",
    },
    phone: {
      number: "8056594427",
      country_code: "+91",
    },
  },
  metadata: {
    udf1: "value1",
    new_customer: "true",
    login_date: "2019-09-10T10:11:12Z",
  },
  billing: {
    address: {
      line1: "1467",
      line2: "Harrison Street",
      line3: "Harrison Street",
      city: "San Fransico",
      state: "Ceuta",
      zip: "94122",
      country: "ES",
      first_name: "joseph",
      last_name: "Doe",
    },
    phone: {
      number: "8056594427",
      country_code: "+91",
    },
  },
};

How did you test it?

Tested Locally

Checklist

  • I ran npm run re:build
  • I reviewed submitted code
  • I added unit tests for my changes where possible

@semanticdiff-com
Copy link

Review changes with  SemanticDiff

@AbhishekChorotiya AbhishekChorotiya force-pushed the fix/redsys_iframe_redirection branch from 75060f8 to 1b0da18 Compare September 24, 2025 09:18
@juspay juspay deleted a comment from github-actions bot Sep 25, 2025
@juspay juspay deleted a comment from github-actions bot Sep 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: redsys 3ds modal not visible when is_iframe_redirection_enabled is set to true

3 participants