fix the bug that parameters are not sent to pagamo
also fixing parameter bug