changes for gtpay

not working well yet need help