add offline payment factory.