How can we help?

The Donation object contains information related to a Rallybound donation.

Availability: The Donation object is available in editable areas and dictionary entries on the post-donation thank you page, and all automated emails related to donations. The latter includes:

  • Donation Confirmation
  • Offline Donation emails
  • Recommitment Charge email
  • Recurring Donation emails
  • Registration emails
  • Member/Team Donation Notification emails
  • Ticket Purchased emails
  • User to User Thank You

Attributes: The Donation object has the following attributes:

  • Donation.Donor_Display_Name

  • Donation.Amount

  • Donation.Date

  • Donation.Message

  • Donation.Recipient (Goal object)
  • Donation.Additional_Donation
  • Donation.Is_Company_Donation
  • Donation.Is_Corp_Sponsorship
  • Donation.Is_Pledge
  • Donation.Is_Verified

Donation

While the Donation object itself isn't very useful without attributes, you can use the field_by_label filter to return the value of a custom field listed for a given donation:

Input

{{ Donation | field_by_label: "How did you hear about us?" }}

Output

From a friend

Donation.Donor_Display_Name

Returns the display name of the donor. The donor determines whether their name, a different name, or no name (anonymous) should be displayed with their donation.

Donation.Amount

Returns the donation amount. Use a money filter to return the value in a monetary format:

Input

{{ Donation.Amount | money }}

Output

$54

Donation.Date

Returns the date and time the donation was made. Use a date filter to return the value in a recognized format:

Input

{{ Donation.Date | date: "%B %d, %Y, %I:%M %p" }}

Output

January 1, 2019, 08:16 PM

Donation.Message

Returns the personal message submitted by the donor with the donation.

Donation.Recipient

Returns the recipient of the donation — the campaign or fundraising page that receives the credit for the donation and whose amount raised will be increased. The recipient can be the campaign, a team page, or a personal fundraising page. Donation.Recipient is a Goal object.

Donation.Additional_Donation

Returns the amount added as a donation to a ticket purchase. Only applies to ticket purchases. Use a money filter to return the value in a monetary format:

Input

{{ Donation.Additional_Donation | money }}

Output

$18

Donation.Is_Company_Donation

Returns true if the donation is marked as a company donation. Use an if tag to display desired content.

Donation.Is_Corp_Sponsorship

Returns true if the donation is marked as a corporate sponsorship. Use an if tag to display desired content.

Donation.Is_Pledge

Returns true if the donation is marked as a pledge. Use an if tag to display desired content.

Donation.Is_Verified

Returns true if the donation is verified. Use an if tag to display desired content.