We need to send different e-mail text for "Payment Declined" in the case of a new customer (such as a mistake in typing their address during initial signup) vs. existing customer (such as declined due to card cancelled etc.).
I see there is "{$customer.createdDatetime}" available, but can you please show quickly how we could use this in an e-mail template? Say we want one text for created in the last 30 days, and another text for created further back than that.
Thanks!

#1 Posted by Marc Guyer Support staff on 17 Sep, 2013 03:47 PM
Hi Dan -- I think you want to switch on the
$invoice.isInitialvalue. That's a1or0indicating whether or not the invoice is the first one. You can, of course, do what you're suggesting with the customer$customer.createdDatetimevalue with something like:Jess Pendley closed this discussion on 21 Nov, 2013 07:49 PM.