Button Pay variable + code reformatting