bug fix for payment page and payment details