Forum Discussion

jessica22's avatar
jessica22
Active Member
2 years ago

Creating a past due credit card payment email campaign using Liquid

I am creating a custom event email campaign for a user whose credit card payment is past due by two days.  I need help identifying the correct liquid code that is needed in my email campaign HTML. 

>Dear {{${first_name}}},
<br />
Your Card ending with {{custom_attribute.${ACCOUNT_ENDING}}} is two days past its due date {{custom_attribute.${CREDIT_CARD_DUE_DATE}}}.You can make a payment through our website or app as soon as possible.
<br />

  • Arso's avatar
    Arso
    Practitioner III

    Hey Jessica,

    Could you share more about what's working and what's broken in the code above? The syntax looks correct. 

    If the values for last 4 digits and due date are part of the event that triggers the email, you need to reference event properties, not custom attributes.