-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recurly (3DS) in Test Mode with <dialog />
elements
#876
Comments
For Stripe's 3-D Secure implementation, we're somewhat limited in our attachment controls. See code. From that call, they are making some assumptions about modal placement, and aren't going to make use of the DOM attachment point passed to Moving an I'll admit my familiarity with the dialog element and the |
Thanks for the response @chrissrogers :) But for now, I'm closing the side-panel drawer upon triggering the 3DS flow. And re-opening upon an error or failed challenge. don't hesitate to @ me if anything changes with the way modals/iframes are rendered 👍 |
https://stackoverflow.com/a/75947179/1121532 According to this, it may only be a test-env issue, so I will monitor how it works with a real card payment in prod, and if there's no issue I'll put a flag in to close only in staging/dev. |
[Full Changelog](v4.29.1...v4.29.2) **Merged Pull Requests** - Adds billing address override to CashApp implementation [#890](#890) ([chrissrogers](https://github.com/chrissrogers)) - Small venmo tweaks for development debugging [#841](#841) ([douglasmiller](https://github.com/douglasmiller)) **Closed Issues** - SyntaxError: Invalid regular expression: missing terminating ] for character class [#880](#880) - Recurly (3DS) in Test Mode with `<dialog />` elements [#876](#876) - Recurly-JS is no longer updating the DefinitelyTyped repo [#875](#875) - Formatting on DefinitelyTyped update [#856](#856) - Inconsistent Autofill behavior with Recurly.js Elements [#845](#845) ##### Minified MD5 Checksum ``` 3b362833dcadd2e6b87b06f217b1591a ./build/recurly.min.js ``` ##### [SRI Hash](https://www.srihash.org/) ``` IMfB8TGNE8AccY/XLO+r19nboApM3KhPF7e8WcxhLMUpJLR92z+p6n2XpmiaYjSJ ```
Hi,
I'm trying to build out the 3DSecure flow with Recurly, using the test environment.
I have the checkout flow open in a side-panel utilising
<dialog />
and the HTML Api forTopLayer
.When the challenge test screen appears (
<iframe name="__privateStripeFrame****">
inside of a<div>
), it is BEHIND theTopLayer
and attached to the very beginning of the<body>
. I have tried two things;attach()
to my<dialog />
<iframe />
after it's attached<iframe name="stripe-challenge-frame" />
to disappear completely (.ThreeDS2-container
is empty)In the screenshot (with some redaction) you can see the Visa Test Card Modal is stuck behind my
<dialog />
's::backdrop
. The reason is because the<dialog />
API promotes it to the::TopLayer
which cannot be overwritten with a non-top-layer element.So the questions are;
.attach()
broken?The text was updated successfully, but these errors were encountered: