Fix the error in payment factory. + some minor impr.

Maybe you can propse a better name for it. I dont know what zero mean, The doc does not help either.