added view reference for payment