Need email invoice send to customer

Boudi

...:: Bake the Unbakable ::...

Gast

not so fast, my friend  ;-)

actual i test with some html2pdf-scripts, but i didnt found the correct combination. i need a script, was work with the actual invoice html-code without changes - its not so easy....

Boudi

Wow :)

I Think that would be a huge step forward in Bakery and smaller shop owners!
...:: Bake the Unbakable ::...

Gast

again... i understand the problem   :wink:

i test the solution from the german thread, but it's no help for you - too many things to change in bakery and all is lost in the next upgrade, so, its cannot be the solution
i'll try the way, to build the invoice as pdf on demand, so, that you can send it as attachement in the customer info at the end of step 3, but it's need a little time

Boudi

Quoteprint the invoice over order administration -> print invoice and put it into the product package to the customer there is a correct invoice

Yup, there is an invoice but I cannot ask our customer to print and send each invoice by hand. Therefore I saw a solution to email this invoice to the customers but that didn't work for me. ( in the German thread).
The invoice ended up in a blank screen. If I can that solution to work we're already halfway.


...:: Bake the Unbakable ::...

Gast

Quote from: Boudi on February 27, 2015, 05:46:43 PM

1) one way or another to create invoices for Bakery
2) total new professional webshop (client's answer = no)


the idea is:

print the invoice over order administration -> print invoice and put it into the product package to the customer
there is a correct invoice

i understand the problem - if anybody send me a mail and say's : pay what i wrote in the mail, i must crying  :-D
no invoice - no payment

Boudi

Hi Uwe,

Thnx for your different point of views. Totally understand them.

I hardly work with Bakery as a shop therefore I was surprised that there is not any invoice method so for us (Netherlands) this shop is totally useless by law if you use this shop as a company.

That said, our client does have a company and is selling products now over Bakery. She must have invoices sent to customers. The Dutch Tax and Customs Administration demands corect invoices by law. Bakery doens't deliver that so I have 2 options:

1) one way or another to create invoices for Bakery
2) total new professional webshop (client's answer = no)

So in short: I'm stucked  :oops:
...:: Bake the Unbakable ::...

Gast

so, i testet with bakery 1.70


problem: the real invoice-part is a copy of the overview-template, its include the complete html-code from this template incl. table, tr and td, but the original customer info mail was sending as text/plain (and needs for html = text/html)

from my point there are four way's

1. if you need the invoice as a part of the info mail to the customer, you need a "realy" EMail-Template with HTML-Code, but the backend-page "payment-methods" doesnt support html-code in this form, so there is a little bit more to do

2. if you like to send the invoice as a attachement , its possible with text/plain (no changes in bakery customer mail needed) but you have to build this pdf-file in the moment between the click of the buy-button and sending the mails to customer and admin.
i'm not sure, that this is the best solution (pdf on demand) - maybe the mail-send-process was aborted

3. sending the invoice as extra html-mail (my way in a older project) - you have to send this mail with the invoice manually from the backend  :roll:
needs a extra button on the backend -> order administration -> overview -> print invoice -> extra button on the bottom of this (print-)window and a new php-file with code mixed from view_invoice.php and the part to send the mail from the view_confirmation.php
very simple to build, but a lot of work, if you have a good shop - i use this way in a shop with 3 - 5 orders / day
but if you have 20 or 100 orders / day..... :roll:
if i send a mail to the customer, i save it into the database, for the overview, i read this setting and builds colored rows in the order overview, smart green for buy via invoice, light blue for paypal, light pink for invoice-mail etc

4. build a pdf
i've no luck with modules like html2pdf - my favorite converter is fpdf, but there are no updates anymore. maybe somebody has some experience with pdf-converting - if yes, only take the source code from the window "print invoice" (popup after clicking the print button in order-overview), thats the html-code
for fpdf i have a form, copy the html-source, input into my code field - finish....

Boudi

Hi,

Was a bit surprised that this is not a function inside Bakery because it's mandatory so here it is;

When a customer is ordering all they get is some kind of confirmation of the order. That's it.

Customers want and need invoices and they don't get these. What I DID see however is that these invoices are there in the admin. Just go to the order overview and click on a print button and there it is.

Strange thing that the cusomters do not get these highy needed invoices. So before I deciced to drop a line here I found out that these question was put down before in the German thread: http://forum.websitebaker.org/index.php/topic,26305.0.html

For me that topic didn't work for me since I use Bakery 1.6

So my question is: Can anyone help me (and others) to create an email button to send this invoice to the specific customer.

And to make it perfect: when an order is set to 'completed' these invoice is send automatically to the customer.

But 1st things 1st... and that is question #1.

Any serious help would be highly appreciated since this question (more a mandatory requirement) comes from a customer with an online shop already.

Boudi

...:: Bake the Unbakable ::...