Skip to main content
Donation variables
Variable Description
first_nameDonor first name e.g.
last_nameDonor last name e.g. {% text_field "last_name", class:"text" %}
emailDonor email address e.g. {% text_field "email", class:"text" %}
nameDonor first and last name combined e.g. {{ donation.name }}
employerDonor employer e.g. {% text_field "employer", class:"text" %}
occupationDonor occupation e.g. {% text_field "occupation", class:"text" %}
submitted_addressDonor address e.g. {{ donation.submitted_address
currencyCurrency of donation e.g. $
card_numberDonor credit card number e.g. {{ donation.submitted_address
currencyCurrency of donation e.g. $
card_numberDonor credit card number e.g. {% text_field "card_number", class:"text" %}
card_verificationDonor card verification number e.g. {% text_field "card_number_verification", class:"text" %}
card_expires_onDonor credit card expiration e.g. {% text_field "card_expires_on", class:"text" %}
amount_option_in_cents
amount_in_centsDonation amount in cents e.g. 1000
amount_formatDonation amount as text with currency e.g. $10.00
payment_type_nameType of payment e.g. {{ donation.payment_type_name }}
email_opt_inEmail opt in check box e.g. {% check_box "email_opt_in", class:"checkbox" %}
is_private?Checks if the donation is private e.g. {% if donation.is.private? %}
is_confirmed?Checks if donor meets eligibility requirements e.g. {% if donation.is_confirmed? %}
succeeded_atTime of successful donation e.g. {{ donation.succeeded_at | date_to_string }}
recruiterRecruiter of donor e.g. {{ donation.recruiter }}
recruiter_idRecruiter id number e.g. {{ donation.recruiter_id }}
is_recurringChecks if the donation is part of a recurring donation e.g. {{ donation.is_recurring? %}}
tracking_code_slugThe donation tracking code slug