- Posts: 82
- Thank you received: 5
Sending invoice after payment
- designer71
-
Topic Author
- Offline
-- Joomla version -- : 5.3.0
-- PHP version -- : 8.1
-- Browser(s) name and version -- : Chrome
Hi.
Is this possible to sent invoice to client by mail after payment?
thank you.
Please Log in or Create an account to join the conversation.
Yes. The PDF invoice plugin was developed for that specific purpose:
www.hikashop.com/marketplace/product/18-plugin-pdf.html
Please Log in or Create an account to join the conversation.
- designer71
-
Topic Author
- Offline
- Posts: 82
- Thank you received: 5
Small question: every invoice will it be sent to the buyer automatically or should I send it myself ?
Please Log in or Create an account to join the conversation.
This plugin will automatically generate the PDF of the invoice and include it in the "order status notification" email which is automatically sent by HikaShop.
So you won't have to do it manually.
Please Log in or Create an account to join the conversation.
- designer71
-
Topic Author
- Offline
- Posts: 82
- Thank you received: 5
Please Log in or Create an account to join the conversation.
- designer71
-
Topic Author
- Offline
- Posts: 82
- Thank you received: 5
Please Log in or Create an account to join the conversation.
The freemono / freesans / freeserif fonts seletable in the font setting of the plugin should support hebrew from what I can read here:
github.com/tecnickcom/TCPDF/blob/main/fo...font-20100919/README
Did you try any of these ?
Please Log in or Create an account to join the conversation.
- designer71
-
Topic Author
- Offline
- Posts: 82
- Thank you received: 5
Now it work perfect.
Additional question: how I can change number of Invoice? Now it H1W80.
I need for example 0001
Thank you!
Please Log in or Create an account to join the conversation.
You want to change the setting "order number format":
www.hikashop.com/support/documentation/5...nfig.html#main_order
For example:
{id size="5"}
Please Log in or Create an account to join the conversation.
- designer71
-
Topic Author
- Offline
- Posts: 82
- Thank you received: 5
Please Log in or Create an account to join the conversation.
But maybe nicolas it will give you a better solution then mine.
3. {id size="5"} - Shop Name , set it like this Hikashop Configuration -> Main (tab) -> Order (section)
Please Log in or Create an account to join the conversation.
1. I'm not sure. Based on github.com/spipu/html2pdf/issues/93 it seems that the HTML2PDF library used by the plugin to generate the PDF file added support for RTL in 2016.
Edit the file plugins/hikashop/attachinvoice/attachinvoice.php via FTP and before the line:
Please let me know how it goes.
2. You can run the MySQL query below via your PHPMyAdmin:
UPDATE #__hikashop_order SET order_invoice_id = 0;
where #__ needs to be replaced by your tables prefix (from the Joomla configuration).
Then, the next order with an invoice will start at 00001
@oxido if you set the reset frequency to every day, the next day, the invoice number will indeed start at 1 again. However, if you then switch back to no reset frequency, the system will take into account the max number on all orders again and will restart where it had left at 182. So I don't think that what you recommend will work.
3. I would recommend filling the "Your logo URL" setting in the HikaShop configuration:
www.hikashop.com/support/documentation/5...onfig.html#main_main
That way, it will be added automatically to the PDF.
Please Log in or Create an account to join the conversation.
- designer71
-
Topic Author
- Offline
- Posts: 82
- Thank you received: 5
1. - no changes
2. - I need to ask from my client firstly.
3. Perfect
Please Log in or Create an account to join the conversation.
1. Then I don't know.
I would need a backend and a FTP access to the website in order to check the situation and see if there is something that can be done for this. Could you provide this via our contact form ?
www.hikashop.com/support/contact-us.html
Please Log in or Create an account to join the conversation.