Hi Ray..Ive tried it with or without changing that line of code. I only changed it because of the post by 'Warrio' which you acknowledged, so I assumed it was a noted error that needed changing.
And yes I had remembered to upload the new Gateway credentials.
FTP and database details in PM
Many thanks