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

bojanz created an issue. See original summary.

  • bojanz committed 542e189 on 8.x-2.x
    Issue #2835862 by bojanz: The payment gateway add form can be saved...
bojanz’s picture

Status: Active » Fixed

Fixed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.