Unfortunately, there isn’t a direct API or callback from Shopify that confirms the iframe rendered the redirect URL successfully. The payment flow is designed to be asynchronous.
The issue we’re currently facing is that many transactions are being declined because the 3DS challenge is not rendered in time. From our analysis, this seems related to cases where the frontend connects late or the iframe rendering happens after our expected window.
Since the payment flow is asynchronous and Shopify renders the iframe on its side, we’re trying to understand within what time window Shopify typically renders the iframe after paymentSessionRedirect is triggered, and whether that process could be affected by factors such as store load, theme scripts, browser behavior, or Shopify-side queueing.
Do you know if there are any documented timings or conditions that could delay the iframe rendering in the checkout?