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 Posted by Marc Guyer Support staff 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?
#2 Posted by Marc Guyer Support staff 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.