Skip to content

Conversation

@jakubjasinsky
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. #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.

@jakubjasinsky
Copy link
Collaborator Author

I'm closing this one because I opened new PR after recent changes
#180

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.

3 participants