Skip to content

Fix 3DS iframe selection#86

Merged
aldesantis merged 3 commits into
solidusio:masterfrom
spaghetticode:spaghetticode/fix-iframe-selection
Oct 2, 2020
Merged

Fix 3DS iframe selection#86
aldesantis merged 3 commits into
solidusio:masterfrom
spaghetticode:spaghetticode/fix-iframe-selection

Conversation

@spaghetticode

Copy link
Copy Markdown
Member

This fix should bring the gem CI back to green status.

Stripe is now using random names for their iframe containers, so we need to resort to some other strategy for finding the iframe that contains the one named __stripeJSChallengeFrame.

Currently, one reliable way to find this iframe is by using a non-changing part of its src attribute.

Stripe is now using random names for their iframe containers, so
we need to resort to some other strategy for finding the iframe
that contains the one named `__stripeJSChallengeFrame`.

Currently, one reliable way to find this iframe is by using a
non-changing part of its `src` attribute.
@spaghetticode spaghetticode added the bug Something isn't working label Oct 2, 2020
@spaghetticode spaghetticode self-assigned this Oct 2, 2020
We recently switched to Selenium so we need to add this command
whenever an alert message is opened in the browser.
@aldesantis

Copy link
Copy Markdown
Member

@spaghetticode looks like the CI is still failing, but I'm not sure if the problem is related.

In Solidus we changed the way we void payments. When the payment
has zero amount we don't try to void anymore.
@spaghetticode

Copy link
Copy Markdown
Member Author

@aldesantis yes it is, that's because of some recent changes in Solidus... which I authored myself 🤪
Hopefully, it's going to be green now.

@aldesantis aldesantis merged commit 7c9d017 into solidusio:master Oct 2, 2020
@spaghetticode spaghetticode deleted the spaghetticode/fix-iframe-selection branch October 2, 2020 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants