adjusted flow for registration of payment