Paper strips (litmuss, lackmuss) are accurate enough for plants most of the times, and 20 bucks would get you a couple of thousands of them.
Digital testers for less than 20 usd usually suck and stop being accurate after a short time. Decent ones can be found though, but it's a challenge. In the pool section of some stores you can sometimes find decent pen-model testers, those don't last very long though. Maybe a year and a half before things get wonky, depending on what you're planning to measure. If you're using organic nutrient mixtures, I'm going to give it a few months. Those mixtures contain a lot of enzymes and proteins, which will block the sensor due to denaturation. Those can be removed with hydrochloric acid to some extent.
Look for ones that need calibration buffers (for calibration) and potassium chloride (for storage) to work properly. Because those are the ones that will give you the most accurate results over a long period of time.
You'll need a glass sensor in it. If it's iron, or some electrical construction you poke in the soil, then you're being scammed.