Open the HPP modal via JavaScript from the checkout redirect pane

Created on 13 December 2024, 6 days ago

The point of this task is to use a simple page we know exists (the payment page with its off-site redirect pane) to understand exactly how the JavaScript is supposed to work to open the modal. This will mean implementing the payment gateway as offsite for now and disabling the auto-redirection JavaScript. From there I don't know if we can just embed the necessary JavaScript in the page and simulate a click on load or what.

Once we know how to open the modal, we can then understand what to do with the various forms of response. We can also research options for moving it earlier in the checkout flow, as with APIs like the Stripe Payment Element, which overrides a specific checkout button in order to facilitate payment via iframe before redirecting through checkout completion after payment has been submitted.

πŸ“Œ Task
Status

Active

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States rszrama

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024