it will be the microswitch inside the door control unit. Mine has failed too.
You can remove the unit and remove the blue microswitch from the rear and probably see like mine that there is corrosion from water ingress.
I've just removed mine but not yet ordered a replacement as everything on ebay looks like copy chinese stuff.
the blue microswitch is the same across many VW's such as passat etc.
Find many great new & used options and get the best deals for For VW Passat B6 1.4 1.6 1.8 1.9 2.0 3.2 3.6 05-10 Door Lock Switch 3C0962125B at the best online prices at eBay UK! Free delivery for many products!
www.ebay.co.uk
This is it, but you just need the blue part.