Can't the rental car companies sell you a physical vignette when you pick up the car?
If you collect in your car in Germany, as I did, and drive it over the border yourself then you almost certainly won't get one (although I've ever been lucky!) so you need to purchase one (physical or digital) before (or as) you cross the border.
In Portugal, we use digital ones (Via Verde) and they are activated at time of purchase.
In Switzerland, physical vignettes are always available on rented cars.