#disco_3ds-chrome

1 messages ยท Page 1 of 1 (latest)

silver flameBOT
compact hollowBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

silver flameBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1276565155043475540

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

ocean swan
#

This is the page I am stuck on

#

eventually spinner dissapears and I see just a blank page

#

I'm using test card 4000002760003184

desert sleet
#

If you use other cards that need 3DS, do you still see this issue?

#

Are you able to reproduce this reliably?

#

Was this working for you before?

#

I tested this on my end, and it is working for me. Can you share a bit more context please?

silver flameBOT
ocean swan
#

hey, I am able to reproduce it reliably. Here is the request ID where I confirmed the payment server side, I don't see any events in the logs for the 3d secure actions: req_zDNZyusQ8gGki0

#

it was not working for me before, I'm able to do normal non-3d secure transactions in the sandbox just fine, but not the 3d secure transactions

#

I call "handleNextAction" and the view in my screenshot is displayed with the spinner, handleNextAction promise never resolves and the window stays open

agile kiln
#

Hi there ๐Ÿ‘‹ taking over, as my colleague needs to step away

Give me a few minutes to get caught up.

ocean swan
#

I can click cancel to dismiss the 3d secure window, and I get the message "We are unable to authenticate your payment method. Pllease choose a different payment method and try again."

#

but otherwise it just sits on a blank screen. And no problem!

agile kiln
#

We need way more detail to this. What errors are you seeing in the developer tools? Anything in console? Anything in the network request tab?

ocean swan
#

No errors in the network request tab, no errors in the console

agile kiln
#

Can you screenshot them?

#

No warnings either?

ocean swan
agile kiln
#

If you click on that pending challenge network request that you see pop up once you submit the form, what does it say?

ocean swan
#

Let me know if you need any part of it copy/pasted so you don't have to transcribe

#

weird that I can't see the response object, but the endpoint returned a 200 ok

agile kiln
#

It's expected that you wouldn't see a response on a pending request, right?

ocean swan
#

oh true, sorry, didn't realize it's still pending

#

since i've recorded the video it's still in that state

agile kiln
#

Can you try removing the Payment Element from that i-frame and display it on the parent page instead?

#

Payment Element gets a bit weird with redirects when it's being rendered in an i-frame

ocean swan
#

it isn't rendered on an iframe, the one I was showing in the video was the iframe opened by the stripe element for 3d secure flow

#

it's mounted to a div on the <body> tag

agile kiln
#

The actual card form (before you ever enter anything) is showing up in a window with an x on it. Is this not an i-frame? It's sitting with shaders in front of the parent page, so it definitely looks like an i-frame

ocean swan
#

see, I can reference it from the root window document just fine

agile kiln
#

Just humor me on this one. Usually when a request is pending, it's because Stripe can't reach the element that made it, so that's what queued me into this maybe being i-frame related. Whether or not there is one, let's work backward a bit and see if displaying this on a regular vanilla HTML <div> gets it to work

#

That will at least tell us if the Kendo Dialogue has anything to do with the issue

#

(p.s. this is a pretty cool UI library. Bookmarking for later)

ocean swan
#

hmmm, same issue it seems

#

challenge still pending

agile kiln
#

If you use another test card for 3DS does it still hang?

ocean swan
#

yeah I've tried a few cards now and all seem to resolve with the same flow ๐Ÿค”

agile kiln
#

Let's try one last hail mary here, can you open in incognito and try again? Also, a different browser if that doesn't work.

ocean swan
#

well I'll be lol

#

it works in firefox

#

usually I run into this the other way ๐Ÿ˜…

agile kiln
#

Yeah, we probably could have started there

ocean swan
#

let me see if I can try in chrome incognito or a new user or something

agile kiln
#

Are there any extensions activated in Chrome that might be messing with the form?

ocean swan
#

aghhh, it just works on firefox ๐Ÿ˜ญ . Idk why I didn't try that either

agile kiln
#

Okay, so it doesn't work in Chrome in incognito either?

ocean swan
#

I haven't changed anything other than closing and reopening chrome and now it works ๐Ÿ™ƒ

#

lol, I wonder what the heck happened

agile kiln
#

Probably magic

#

I'll take it ๐Ÿ˜…

ocean swan
#

feels like it haha. Well thanks for helping investigate anyway, didn't think this would be the solution haha

agile kiln
#

The classic "did you turn it off and back on again?" question shows up here all the time and I never ask that first, so I guess that's on me ๐Ÿ˜‚

happy coding!

silver flameBOT
eager epoch
#

disco_3ds-chrome

ocean swan
#

hey, I think I might have figured out what's causing it. Idk how or why, but if I attach WebStorm debugger to chrome, the 3d secure page won't load

#

if I don't attach it, it loads just fine

eager epoch
#

it's definitely possible a tool like this would get in the way