Cleaning the
outside of the negative terminal in your cart's charge receptacle may solve the mystery.
I suspect you have a Powerwise 28115 charger (picture attached) which senses the battery pack voltage via the Auxiliary contact in the output plug. Since it works on other carts, the charger's part of the battery sensing circuitry is working, so the problem is in the cart's part.
I also suspect your other charger does not sense the battery pack voltage via the Auxiliary contact, so it work with your cart despite the outside of the negative charge receptacle terminal being tarnished.