A VPN per store would be too complex for the vendor so they just expose these to the open.
Same story as with all the hacked OT/SCADA systems in the past.
1. Connecting them was probably considered best practice when they were installed in 2005 2. Their support contract required them to stay connected