Paypal not working with the website

I have the same problem I originally had with the paypal buttons in that they are not being direct to paypal to take payment they are going to the home page.
I thought I had it sorted but it reverted back again for some reason unknown to me.
Can someone please help.