Jump to content

Disabling email reminders for unpaid invoices related to pending services


dimitrifrom31

Recommended Posts

Hi,

 

I'm tryingto disable email reminders for unpaid invoices only for products that are still in a pending state as I have quite a lot of visitors making one (or more) orders just to check it out (and then eventually a new one they wll complete) and some of them are complaining about receiving reminders while they just wanted to "have a look".

Some reported feeling like "forced" to pay with such reminders.

 

 

I did read that it might be possible to achieve that using a hook. If so it should be quite a simple one but my whmcs/coding knowledge is still too much limited to sort that out.

 

Ideally I would like to disable reminders for the add funds invoices too (I guess this should be doable as well using {if $invoiceitems|strstr:"Add Funds"}

 

Any help will be apreciated, I may consider paying for it if your price is reasonable.

Link to comment
Share on other sites

a good starting point for this might be the code recently posted by mbit...

 

http://forum.whmcs.com/showthread.php?95739-Not-send-invoice-reminders-for-invoices-over-a-certain-value&p=401718#post401718

 

in that case, it's blocking email reminders over a certain total amount, so you'd need to tweak the final if statement to make the correct comparisons.

Link to comment
Share on other sites

I gave it a first test to disable "add funds" reminders editing the hook you linked me to.

 

I am not sure if I can test the hook by manually clicking the button to send invoice reminder or if I have to wait for the cron job?

I mean let's suppose my hook is correct, should I receive the reminder email if I send it manually?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated