Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Remove iframe from DOM after switching payment methods to remove event listener on the form which blocks submission for other payment methods.
The relevant issue on GitHub: https://github.com/SecureTrading/js-payments/issues/1132
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#3 | 3159883-2.patch | 626 bytes | valic |
Comments
Comment #2
valicAttached patch which when we have JS data drupalSettings.commerceSecureTrading, but there is no form with class .securetrading-form, remove any residual iframe: iframe#st-control-frame-iframe.
That triggers removal of event listener on SC side
Comment #3
valicCorrect patch
Comment #5
valic