diff --git a/src/Packetery/Module/ShippingMethod.php b/src/Packetery/Module/ShippingMethod.php index 6c4112989..2c0e814d0 100644 --- a/src/Packetery/Module/ShippingMethod.php +++ b/src/Packetery/Module/ShippingMethod.php @@ -166,7 +166,7 @@ public function calculate_shipping( $package = [] ): void { * @return array */ public function get_instance_form_fields(): array { - if ( ! $this->wcCarrierSettingsConfig->isActive() ) { + if ( ! $this->optionsProvider->isWcCarrierConfigEnabled() ) { return []; }