Page 1 of 2 12 LastLast
Results 1 to 10 of 40

Hybrid View

  1. #1
    Join Date
    May 2008
    Location
    South Australia
    Posts
    86
    Plugin Contributions
    1

    Idea or Suggestion Invoice-to-PDF Mailer [support thread]



    as the name suggests, it generates a pdf from your invoice, then allows you to mail it as an attachment.

    Download: http://www.uhost.com.au/downloads/in...mailer_v01.zip


    -----------------------------
    Zencart Invoice to PDF Mailer v01
    -----------------------------

    featuring:

    dompdf - PHP5 HTML to PDF converter
    ===================================
    http://www.digitaljunkies.ca/dompdf

    and

    PHP: Sending Email (Text/HTML/Attachments) (Guide)
    http://www.webcheatsheet.com/PHP/sen...attachment.php


    and

    A modified admin/mail.php file to handle the mailing until zencart completes its attachment support.
    --------------------------------------------------
    contact me via the forum or www.hthring.com,

    regards,

    Hayden Thring
    Australia.
    09/11/08

  2. #2
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Invoice to PDF Mailer [support thread]

    Zencart attaches file just fine. In fact, I wrote a module that uses the pdf invoice center, to send email to customers everytime a new order is placed (with the pdf invoice attached)
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  3. #3
    Join Date
    May 2008
    Location
    South Australia
    Posts
    86
    Plugin Contributions
    1

    Default Re: Invoice to PDF Mailer [support thread]

    Quote Originally Posted by yellow1912 View Post
    Zencart attaches file just fine. In fact, I wrote a module that uses the pdf invoice center, to send email to customers everytime a new order is placed (with the pdf invoice attached)

    it might just, but i couldnt work it out, and there was comments in the code that it was buggy and unfinished.


    so where this module of urs ??

  4. #4
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Invoice to PDF Mailer [support thread]

    Quote Originally Posted by hayden View Post
    it might just, but i couldnt work it out, and there was comments in the code that it was buggy and unfinished.


    so where this module of urs ??
    It was written for a customer and will not be released without his consent :)
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  5. #5
    Join Date
    May 2008
    Location
    South Australia
    Posts
    86
    Plugin Contributions
    1

    Default Re: Invoice to PDF Mailer [support thread]

    so i take it u were able to to send attachments via the normal mail system ?? any tips ??

    Hayden.

  6. #6
    Join Date
    Feb 2008
    Posts
    27
    Plugin Contributions
    0

    Default Re: Invoice to PDF Mailer [support thread]

    Hi, i have istalled this mod also, edited the super_orders.php to make te email button vizible but when in press it i get a new page saying:
    Content Encoding Error
    The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.
    The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.


    Also i got this error log from the error_debug_log:
    [10-Nov-2008 03:24:53] PHP Fatal error: Uncaught exception 'PDFlibException' with message 'Bad floating point number for PDF' in /home/your/path_to/website/admin/dompdf/include/pdflib_adapter.cls.php:680
    Stack trace:
    #0 /home/your/path_to/website/admin/dompdf/include/pdflib_adapter.cls.php(680): PDFlib->fit_textline('Moto Bike Shop', 6, 768.72, 'rotate=0 wordsp...')
    #1 /home/your/path_to/website/admin/dompdf/include/text_renderer.cls.php(84): PDFLib_Adapter->text(6, 6, 'Moto Bike Shop', '/home/motobike/...', 16, Array, 0)
    #2 /home/your/path_to/website/admin/dompdf/include/renderer.cls.php(180): Text_Renderer->render(Object(Text_Frame_Decorator))
    #3 /home/your/path_to/website/admin/dompdf/include/renderer.cls.php(96): Renderer->_render_frame('text', Object(Text_Frame_Decorator))
    #4 /home/your/path_to/website/admin/dompdf/include/renderer.cls.php(132): Renderer->render(Object(Text_Frame_Decorator))
    #5 /home/your/path_to/website/admin/dompdf/include/renderer.cls.php(132): Renderer->render(Object(Table_Cell_Frame_Decorator))
    #6 /home/your/path_to/website/admin/dompdf/include/renderer.cls.php(132): Renderer->render(Object(Table_Row_Frame_Decorator))
    #7 /home/your/path_to/website/admin/dompdf/include/renderer.cls.php(132): Renderer->render(Object(Table_Frame_Decorator))
    #8 /home/your/path_to/website/admin/dompdf/include/renderer.cls.php(132): Renderer->render(Object(Table_Cell_Frame_Decorator))
    #9 /home/your/path_to/website/admin/dompdf/include/renderer.cls.php(132): Renderer->render(Object(Table_Row_Frame_Decorator))
    #10 /home/your/path_to/website/admin/dompdf/include/renderer.cls.php(132): Renderer->render(Object(Table_Frame_Decorator))
    #11 /home/your/path_to/website/admin/dompdf/include/page_frame_reflower.cls.php(82): Renderer->render(Object(Block_Frame_Decorator))
    #12 /home/your/path_to/website/admin/dompdf/include/frame_decorator.cls.php(387): Page_Frame_Reflower->reflow()
    #13 /home/your/path_to/website/admin/dompdf/include/dompdf.cls.php(417): Frame_Decorator->reflow()
    #14 /home/your/path_to/website/admin/makepdf.php(15): DOMPDF->render()
    #15 /home/your/path_to/website/admin/pdfmail.php(18): include('/home/motobike/...')
    #16 {main}
    thrown in /home/your/path_to/website/admin/dompdf/include/pdflib_adapter.cls.php on line 680

    Enyone experienced something like this?
    I did not manage to make it work.
    I have folowed the instuctions from /admin/dompdf/install.txt
    and also from admin/read.install.txt

    and also made directoryes writebel
    /admin/invoices/
    /admin/dompdf/lib/fonts
    I am using 1.3.8a version of Zen Cart.

    Best regards Zoli.

  7. #7
    Join Date
    May 2008
    Location
    South Australia
    Posts
    86
    Plugin Contributions
    1

    Default Re: Invoice-to-PDF Mailer [support thread]


  8. #8
    Join Date
    Jun 2007
    Posts
    122
    Plugin Contributions
    0

    Default Re: Invoice-to-PDF Mailer [support thread]

    Hi

    I have installed this now, and trying to get it working without making any changes, so that I can prove the basic code is working.

    When I press the email pdf button, it just displays a blank page, with Inernet explorer cannot display the web page.

    This is the address it shows in the address bar.

    www. chalfontgifts.co.uk/shop/admindir/pdfmail.php?oID=100231&[email protected]

    I have changed the email name,domain and placed a space after www. for security, but it does show the correct email for the order selected and does not have the space in, when on the live site.

    Any ideas what can cause this.

    Regards
    Laurie
    Last edited by chalfontgifts; 12 Mar 2009 at 12:45 PM.

  9. #9
    Join Date
    May 2008
    Location
    South Australia
    Posts
    86
    Plugin Contributions
    1

    Default Re: Invoice-to-PDF Mailer [support thread]

    Quote Originally Posted by chalfontgifts View Post

    Any ideas what can cause this.

    Regards
    Laurie
    possibly your different admin dir path... if its saying the page cannot be found, is it correct in looking for pdfmail.php in /shop/admindir/ ??

  10. #10
    Join Date
    Jun 2007
    Posts
    122
    Plugin Contributions
    0

    Default Re: Invoice-to-PDF Mailer [support thread]

    Thanks for the resonse. I think that part of the path is correct.

    If I add this &action=email_to manually to the end of the url, it does bring a page up with the email editor on it.

    Not sure if this is what it is supposed to bring up, but the action part of the url appears to be missing when I press the button from the orders page.

    Any idea why that is missing ?

    Regards
    Laurie

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 19
    Last Post: 23 Jan 2023, 08:04 AM
  2. v150 Product Images on Invoice, Email, etc [Support Thread]
    By jackie.taferner in forum All Other Contributions/Addons
    Replies: 29
    Last Post: 26 Aug 2022, 05:52 AM
  3. pdf Invoice 3
    By torvista in forum All Other Contributions/Addons
    Replies: 38
    Last Post: 11 Nov 2013, 05:26 PM
  4. PDF Invoice Trend
    By ryanb4614 in forum General Questions
    Replies: 1
    Last Post: 19 Feb 2010, 12:10 AM
  5. pdf mailer?
    By louisapple in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 14 May 2009, 04:31 AM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR