For most plans, when the eSIM first connects to a network at the destination — not when you buy it, and not when you install it.
That is why installing at home on wifi costs you nothing: the plan waits until you arrive.
Some plans work differently, and each plan page says which. If your dates are tight, read that line before paying.