Payment-failed notification (MAIL-04).
Sent when a payment attempt fails. Body contains retry guidance and a
CTA pointing at the host-supplied @context[:update_pm_url]. Dunning
cadence and escalation live in the Phase 4 Dunning policy module —
this email is only the customer-facing notification.
Summary
Functions
Returns the raw MJML template. Useful for debugging rendering issues.
Safely render the MJML template using Phoenix.HTML