Checkout payment URL

@coenjacobs this is why authipay didn't work. I've moved this function
from 2.1 (tweaked slightly)