I was on a visit visa (a 1 year multiple) when I went to the UK to marry my husband. I just got a legal capacity to marry certificate from the Philipphine Embassy in London. I was previously married so I needed to show the original authenticated annulment papers as well and a copy for their records, then the copy of birth certificates (mine and fiancee) and passport copies. I would advise you to call the embassy yourself to know what documents you'll require to get the certificate. Next will be the application of marriage licence where you'll need to contact the Registrar where you're planning to marry and ask for required documents (usually original birth certs and passport copies plus legal capacity to marry), they will return these with the licence. As far as I can remember, that was it. Hope this helps. Good luck!