Hi Sharon,
You're not supposed to pay tax to the UK - you've confirmed that you're a Spanish resident, so as I said previously, you have to declare your worldwide assets and income in Spain.
Regarding a resident's mortgage, you would be best to speak to a mortgage broker.
Kind regards,
Kim