Fix Payments handler not handling redirects

I'm not sure if lines 19-21 are necessary or not. What do you think?
Ok, let's see if I can do it the good way :)