yes yourpay do work with virtuemart if you know about the api calls for your pay you can implement it in the shopping cart, you can just create a new payment module and follow the steps to integrate the calls in the module, you can chk your yourpay admin section under support there is an online manual there that gives you the info on implementing this in your shopping cart