Force SSL on Invoice Pages
This snippet is unsupported and available as an example. This is because it's highly recommended that you don't have a mixed ssl content site, there's no technical reason (since servers have advanced, i.e. speed) to not place your entire site on https://, especially since secure sites have an SEO boost.