Updated payment form renderer to constructor injection