Vortex and Surface Phase Transitions in Superconducting Higher-order Topological Insulators.