Next Invoice date
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
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
Support Staff 1 Posted by Marc Guyer on 01 Jun, 2011 08:17 PM
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?
Support Staff 2 Posted by Marc Guyer on 01 Jun, 2011 08:19 PM
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 Posted by kguard on 01 Jun, 2011 08:19 PM
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 Posted by kguard on 01 Jun, 2011 08:20 PM
Thanks
On Wed, Jun 1, 2011 at 3:19 PM, Marc Guyer <
[email blocked]> wrote:
Marc Guyer closed this discussion on 01 Jun, 2011 08:32 PM.