I’m trying to build a payment timeline for a product, some sort of an installment timeline.
I need to do this automatically, so when the user enters the Thank you funnel, they receive an email showing a payment timeline.
e.x.
Installment Number | Due Date | Payment Status |
---|---|---|
1st installment | ?????? | Due Today |
2nd installment | ????? | Pending |
The due date needs to be the placed order date + 30 days for the first installment, and the placed order date +60 days for the second installment. The placed order is the first time they opted for the service.
I tried using different variables, but none displayed the placed order date and function properly. Something I used but this is relative to the date I send the email not the date someone placed the order
{% today '%Y-%m-%d' as today %} {{ today|days_later:60|format_date_string|date:'M d' }}
Is there a variable structure that I am missing?