Handle state, cancel_uri and redirect_uri correctly. Fixes #9
Merge branch 'payment-params-bug'
Beta 6