I tried to build a pretty normal (?) minecart station in Minecraft 1.15.2. (see added screenshot)
At the end of the railway I placed a cactus to destoy the cart and a hopper in front of it to capture it before the cactus can actually destroy it, but the cart is destroyed regardless - instantly.
Did something change in recent versions of minecraft?
I want to collect the cart to dispense it back on the track, how can i do that?
Don't know that anything has changed, but would suggest totally surrounding the cactus with a ring of hoppers, as the often go to the side and one hopper misses them.