Next Invoice date

kguard's Avatar

kguard

01 Jun, 2011 07:37 PM

Hi

We had set up the payment receipt email and for the sentence credit card is going to charge on next invoice date we use the following syntax

Your next invoice is due on {$invoice.billingDatetime|date_format:"%m/%d/%Y"}.We'll automatically charge your credit card ({$subscription.ccType|upper} ***{$subscription.ccLastFour}) at that time.{/if}

Is this the correct one because when we received the email date was not change for next invoice date.

When i was going through syntax reference i found another one {$currentInvoice.billingDatetime}

can you let me know which one i have to use.

Thanks

  1. Support Staff 1 Posted by Marc Guyer on 01 Jun, 2011 08:17 PM

    Marc Guyer's Avatar

    HI Kalpesh -- The difference between $invoice and $currentInvoice depends on the email template in use (sometimes they're the same). Which email are you changing?

  2. Support Staff 2 Posted by Marc Guyer on 01 Jun, 2011 08:19 PM

    Marc Guyer's Avatar

    Actually, you want {$currentInvoice.billingDatetime}. The word current here means the current open (pending) invoice. In other words, the one scheduled for the future. So, yes, {$currentInvoice.billingDatetime} is what you're looking for.

  3. 3 Posted by kguard on 01 Jun, 2011 08:19 PM

    kguard's Avatar

    Payment receipt.

    I want client to know that your credit card has been charged and let them
    know that your next invoice due date is (next invoice date)

    On Wed, Jun 1, 2011 at 3:17 PM, Marc Guyer <
    [email blocked]> wrote:

  4. 4 Posted by kguard on 01 Jun, 2011 08:20 PM

    kguard's Avatar

    Thanks

    On Wed, Jun 1, 2011 at 3:19 PM, Marc Guyer <
    [email blocked]> wrote:

  5. Marc Guyer closed this discussion on 01 Jun, 2011 08:32 PM.

Discussions are closed to public comments.
If you need help with Cheddar please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM