SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Zealot
    Join Date
    May 2005
    Posts
    172
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how does a web page generate a pdf?

    Hi

    I've got a website with a few homemade checkout pages and a link to a payment gateway. At the moment the final confirmation page sends an HTML email with the Order details/Customer details.

    Is there a way I can have my final checkout page generate a PDF invoice of the Order details/Customer details and attach it to an email that is sent to the customer and I?

    Thanks

  2. #2
    SitePoint Enthusiast NicoJulius's Avatar
    Join Date
    May 2011
    Location
    Belgium, Europe
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I always use fpdf.org for tasks like this. But I don't do e-commerce.

  3. #3
    Community Advisor silver trophy

    Join Date
    Nov 2006
    Location
    UK
    Posts
    2,547
    Mentioned
    40 Post(s)
    Tagged
    1 Thread(s)
    If you can install wkhtmltopdf on your server you can pretty much take the output of any html page and feed it directly in to generate a pdf


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •