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.
The payment gateway add form saves the entity when the plugin is selected. At this point the plugin configuration (such as API keys) wasn't provided, and the gateway is in an invalid state.
We should not save the entity until the plugin has been configured. We can do this by adding a touch of #ajax to the plugin dropdown.
Comments
Comment #3
bojanz CreditAttribution: bojanz at Centarro commentedFixed.