Accrue.Emails.PaymentFailed (accrue v0.3.0)

Copy Markdown View Source

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

Functions

debug_mjml_template()

Returns the raw MJML template. Useful for debugging rendering issues.

render(assigns)

Safely render the MJML template using Phoenix.HTML

render_text(assigns)

@spec render_text(map()) :: String.t()

subject(arg1)

@spec subject(map()) :: String.t()