Home › Forums › WordPress › Web Invoice – Invoicing and billing for WordPress › edit webform and email
Tagged: feature request, plugin, web invoice
- This topic has 11 replies, 2 voices, and was last updated 13 years, 12 months ago by
senlin09.
-
AuthorPosts
-
March 30, 2009 at 23:48 #3385
senlin09
MemberHi,
Just installed your plugin today and it works fantastic!
However, I would like to make some changes to the web invoice as well as the emails that are sent out.
I already made some changes (default currency, deleted US States, added some text here and there), but for other changes (such as: change date format, add extra 0 in amounts behind the decimal and actually sending out a receipt of payment) I do not know where to look.
Could you perhaps point me in the right direction?
Thanks,
Piet
March 31, 2009 at 04:20 #4231S H Mohanjith
MemberTo send receipts go to Web Invoice -> Settings and select yes for Send Payment Confirmation.
How many zeros do you need behind the amount? Web Invoice already formats currency amounts with 2 decimal places. If it is not the case with your installation please let me know.
I just noticed there is no consistency in formatting dates (my bad). Give me couple of hours to get that fixed. Then you can modify the localization file and the date will be displayed appropriately.
Thank you senlin09
March 31, 2009 at 08:47 #4234senlin09
MemberHi, thanks for your reply.
I already have yes selected for “Send Payment Confirmation”, but the only email it sends out says that a receipt has been sent, which is not the case…
I noticed (in my installation, which is the latest) that when an amount is for example 88.50, the 0 falls off in the emails and the upper part of the web invoice. In the table with the name and description it shows the 0, so it’s a minor detail.
Also I would like to make some changes to the content of the email(s) that are sent out. Could you tell me where I can find that?
Cheers,
Piet
March 31, 2009 at 17:48 #4237S H Mohanjith
Member@seni09, thanks for pointing out the issue with the payment confirmation mail. I have changed it to “…has received your payment for the…” (not yet released).
I’m not seeing the issue with zeros (in the latest release). I wonder what’s wrong with your installation. Anyone else having the same issue please shout.
You can modify the e-mail content, it’s in a function called web_invoice_show_email in Display.php. It should be on line 1459.
March 31, 2009 at 18:25 #4240senlin09
MemberHi admin,
Please have a look at a screenshot I made for reproducing the zeros-issue:
I will have a look at line 1459 and keep you posted on my progress
Look forward to the next release then
Cheers,
Piet
March 31, 2009 at 19:38 #4243senlin09
MemberHi again admin,
I found the line and made some changes, as well as your change for the receipt
So all works fine now at my end, apart from the “zeros-issue”… Look forward to hear your take on that.
Cheers,
Piet
March 31, 2009 at 23:34 #4246S H Mohanjith
Member@senlin09, I just released 1.6.3 with the following changes.
* Moneybookers API tested thoroughly (Thank you MB for the test account)
* Receipt e-mail made more meaning full
* Amount decimal points fixed (using number_format)
* Dates and number formatting internationalized
Hope the new release doesn’t screw up your changes (do not upgrade automatically).
I’m working on 1.7.0, main feature addition is e-mail templates. If you have any thoughts and ideas (like extra variables that needs to accessible within the template), please share.
April 1, 2009 at 07:36 #4249senlin09
MemberHi admin,
Wow thanks, that is great! I will manually update my version immediately.
Feature requests from my side would be to make the email and web templates more international oriented. I mean I have changed the templates to show EUR and I have deleted the entire US states thingy, because my clients are in Europe and Asia, not in the US, therefore states for me are overdoing it.
Also the EUR character does not always come across in emails, so I have changed all currency codes to 3-letter codes USD, CAD, GBP, EUR.
If you’re making the email templates more variable, perhaps it is also possible to do the same thing for the web templates? This to reflect the text that is sent by email.
If I think of something else, I will let you know.
Thanks,
Piet
April 5, 2009 at 18:36 #4252S H Mohanjith
Member@senlin09, I just released 1.7.0 with the following changes.
* States are no longer selectable (it’s just a text box)
* AlertPay API bug fix
* AlertPay IP range added (more security)
* AlertPay country code (ISO_3166-1 alpha-3 country code) to ISO_3166-1 alpha-2 country code mapping
* Allow just the button payments for PayPal
* E-mail templates
* E-mail hooks (add you own variables via another plugin)
April 6, 2009 at 08:02 #4255senlin09
Memberhi admin,
Thanks, looks great indeed.
One question though, where can I find the variables to input for the email templates? Or can we now just make a general invoice template that directs the client to the online invoice?
Thanks,
Piet
April 6, 2009 at 11:08 #4258S H Mohanjith
Member@senlin09, may be http://mohanjith.net/blog/2009/04/how-to-customize-web-invoice-e-mail-templates.html answers your question?
April 6, 2009 at 23:15 #4261senlin09
MemberHi admin,
That indeed answers my question exactly
Thanks, I probably didn’t look far/deep enough for the answers…
Piet
-
AuthorPosts
- You must be logged in to reply to this topic.