Added networking code to PaymentViewController