Giter Club home page Giter Club logo

Comments (4)

dustingraham avatar dustingraham commented on August 18, 2024

screenshot from 2018-08-07 10-11-50

Same issue with downloading the sample app. The page was loaded in full screen, then the window was no longer full screen and the submit button clips off. I believe authorize.net hosted form needs to send a resize event when the window resizes, not just on load, or when payment type is changed.

from accept-sample-app.

skjbulcher avatar skjbulcher commented on August 18, 2024

I'm having the same issue on my integration (using the sandbox). The iframe communicator isn't receiving any message at all when the iframe resizes. I have confirmed this with logging in the iframe communicator.

This is what my form looks like when starting wide, where the iframe width is >= 450px. This triggers the double-column layout. Practically speaking, there is dead space between 450px and 673px where the second column doesn't display properly, so we've tweaked the page never to allow the iframe to take those widths.
image

Reducing the width of the page such that the iframe width is <= 449px hides the pay button This triggers the single-column layout on the authorize.net payment form, but without resizing the iframe, there is no pay button at all. It makes our developers look very sloppy.
image

Of course resizing in the reverse direction (from a narrow page to a wide page) causes a large whitespace to appear, because the iframe isn't notifying the communicator the height has been reduced.
image

from accept-sample-app.

skjbulcher avatar skjbulcher commented on August 18, 2024

I should mention that on page load resizeWindow does trigger, and I am handling the event properly (hence the difference in height between my two examples)

from accept-sample-app.

mithatb avatar mithatb commented on August 18, 2024

i have the same problem

from accept-sample-app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.