created PDF functionality and link to checkout