Investigation shows instance_settings["enabled"] = "no" but WooCommerce shows enabled. Hypothesis: - WooCommerce stores enabled status in $method->enabled property - instance_settings["enabled"] might be stale/cached - We were reading the wrong source Changes: ✅ Log BOTH $method->enabled and instance_settings["enabled"] ✅ Switch to using $method->enabled as source of truth ✅ This is what WooCommerce admin uses Test: Refresh page and check if $method->enabled shows "yes"
9.7 KiB
9.7 KiB