fix to payments callback