Accrue.Emails.RefundIssued (accrue v0.3.0)

Copy Markdown View Source

Refund issued notification (MAIL-12).

Sent when Stripe emits charge.refunded. Body renders the full fee breakdown (formatted_amount, formatted_stripe_fee_refunded, formatted_merchant_loss) so the customer sees what was returned and what Stripe withheld. Does NOT embed the shared invoice components — refunds are a distinct flow from invoices.

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()