Pay page and thanks page endpoints. Requires permalink save. Closes #3170.