SSL in WHMCS integration plugin

Ok I took a look and think I found the problem.

When I encode the URL it still gives me the non-ssl version of that. I have followed everything to my ability that you have said.

Any other thoughts, because I really want customers to have an SSL when they deal with their sensitive information.