Gateway redirect functions now require an payment object.