Redirect to appropriate urls when paying matches

Closes #1.