How to upgrade the door: level, health, coin button
6 min read
DoorRepairDefense
Open the door panel, read level, health, and price, and tell the coin upgrade apart from the video-icon button.

As shown above, this is Iron Door LV3, 140 health, 32 coins to upgrade. The play-icon button next to it is a different action from the coin upgrade.
When a ghost is close, close the store, open the door, and upgrade if you can afford it. Repair Bench spends lightning to repair the door — build it when health is dropping. Once the door starts losing health, don't keep holding coins.