ok, we were going down the wrong track. this problem is solved.
admin -> configuration -> sessions -> recreate session.
this value was set to true. setting it to false has fixed the time out error.
i will have to explore a bit as to what that config value does and why it does not destroy the session in paypal, but it destroys it in square.
best.
Bookmarks