Jump to content

Help with conditional display "if statement" on email invoice


knipper

Recommended Posts

Hi all,

 

I would like to create a "conditional display" on my invoice email template, similar to what WHMCS does when I get my invoice.

 

Basically, if a customer has a Credit Card on file, they see a note that their CC will be charged on the due date. If no CC on file, the message doesn't come up, or a different paypal message would be seen. (I only offer CC or Paypal payment options)

 

 

First, what does the {$invoice_payment_method} field show?

 

I see the fields I believe I would need... such as:

{$invoice_payment_method}

{$client_cc_type}

 

 

So, as an example:

Customer has CC on file, and sees a message such as:

Payment will be taken automatically on 03/16/2010 from your credit card on record with us.

 

If there is no CC on file then they would see something like this.

 

(If a paypal hosting recurring subscription:)

Payment will be taken automatically on 03/16/2010 from Paypal. If this invoice includes a domain name renewal, that will need to be manually paid via Paypal.

 

Thanks in advance everyone! 8)

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