Feature Requests
Share ideas, discuss and vote on requests from other users in community
 

Add Direct Debit Invoice Created Email Template

Mark Krieger shared this idea 6 months ago
Under Consideration

We recently started using the GoCardless gateway and I noticed that WHMCS uses the credit card e-mail template to send out e-mails.

Ours says that the charge will be automatically withdrawn from their credit card on the due date. Which of course is wrong since it will be withdrawn from their bank account a few days later.

We would like separate e-mail templates for GoCardless transactions.

Comments (3)

photo
1

I actually just noticed that while it also uses the "Credit Card Payment Due" template, it does use the "Invoice Payment Confirmation" and not the "Credit Card Payment Confirmation" template.

So maybe creating a "Direct Debit Invoice Created" template and moving all GoCardless e-mails to Direct Debit e-mails?

In the long term it would probably be great to be able to assign certain templates (also custom) to certain events on certain payment gateways so one can customize as necessary and just select which template the system should use if event X triggers with payment gateway Y.

photo
1

Hi there,

Thanks for your suggestion.

WHMCS currently sends the "Invoice Created" email template when GoCardless is the assigned payment gateway. The default text for this invites users to login to their client area to pay the invoice. With an existing GoCardless mandate, users will see an info box on the invoice page that payment will be taken automatically.

Before the invoice due date, the "Invoice Payment Reminder" email template is sent.

When the payment capture is attempted, the "Direct Debit Payment Pending" template is sent, if it fails the "Direct Debit Payment Failed" email is sent.

When the payment is completed the "Direct Debit Payment Confirmation" template is sent.

As an immediate solution, the text of invoice email templates can be customised based upon the payment gateway eg:

{if $invoice_payment_method='gocardless'}

GoCardless payment instructions here

{else}

Regular payment instructions here

{/if}

I hope that's helpful!

photo
1

Thank you for detailed information.

photo