Seems to work
Hi That seems to have fixed it.
But it brings another question.
I only want the customer to have the option of using Paypal Express so want to remove the part on the Checkout page that says "or Pay by Credit Card"
If I remove that whole section including "Checkout" button it breaks again.
What code do I need to remove/keep in to get rid of that section and only leave Paypal option and still get the page to work.