added getPaymentDetails call