diff --git a/modules/ppcp-wc-gateway/src/Settings/Settings.php b/modules/ppcp-wc-gateway/src/Settings/Settings.php index 9340357a6..0e71dd3b8 100644 --- a/modules/ppcp-wc-gateway/src/Settings/Settings.php +++ b/modules/ppcp-wc-gateway/src/Settings/Settings.php @@ -120,7 +120,10 @@ class Settings implements ContainerInterface { * @return bool */ public function has( string $id ) { - if ( $this->settings_map_helper->has_mapped_key( $id ) ) { + if ( + $this->settings_map_helper->has_mapped_key( $id ) + && ! is_null( $this->settings_map_helper->mapped_value( $id ) ) + ) { return true; }