The church certificate is online if you mean William and Mary's.
William himself is referred to by both surnames so I am not sure it is just a coverup for illegitimacy but i can't understand it.

There is another 1843 marriage Of Mary Ann Smith to James Lewis. Her father was also Richard Smith, a tailor.
I can't find this couple in later censuses to check her birthplace.