Skip to content
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

fix(POS-1250): make 3ds iframe configurable from the outside #166

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jakub-jasinski-cko
Copy link
Collaborator

Description

This is second solution for the problem. In this case we're letting to configure iframe width & height from the outside of PO.js by passing additional argument to the payment functions. It requires more testing before release.

Solution

Notes

Jira Issue

https://checkout.atlassian.net/browse/POS-1250

Copy link
Contributor

@tomasz-pazdziurek-cko tomasz-pazdziurek-cko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably the best solution. Wonder if we shouldn't actually merge and deploy this one in favour of #165 ?

We touch the same number of forms in both PRs, after all.

Additionally, if we merge and deploy #165 first, it will fix the Bitstack issue, but if we are to merge this one, we would make a change for them again:

  1. fix(POS-1250): stretch 3ds iframe for whole height of device on mobile #165 automatically resizes the iframe to "fullscreen" for screens narrower than 500 px.
  2. Bitstack is happy, because they don't need to do anything and they have a nicely displayed form.
  3. We merge this PR, removing the automagical iframe resize feature.
  4. Bitstack is unhappy, because the form is too small again and they must make changes in their processout.js config to adjust the height.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants