Donation variables
Variable | Description |
---|---|
first_name | Donor first name e.g. |
last_name | Donor last name e.g. {% text_field "last_name", class:"text" %} |
Donor email address e.g. {% text_field "email", class:"text" %} | |
name | Donor first and last name combined e.g. {{ donation.name }} |
employer | Donor employer e.g. {% text_field "employer", class:"text" %} |
occupation | Donor occupation e.g. {% text_field "occupation", class:"text" %} |
submitted_address | Donor address e.g. {{ donation.submitted_address |
currency | Currency of donation e.g. $ |
card_number | Donor credit card number e.g. {{ donation.submitted_address |
currency | Currency of donation e.g. $ |
card_number | Donor credit card number e.g. {% text_field "card_number", class:"text" %} |
card_verification | Donor card verification number e.g. {% text_field "card_number_verification", class:"text" %} |
card_expires_on | Donor credit card expiration e.g. {% text_field "card_expires_on", class:"text" %} |
amount_option_in_cents | |
amount_in_cents | Donation amount in cents e.g. 1000 |
amount_format | Donation amount as text with currency e.g. $10.00 |
payment_type_name | Type of payment e.g. {{ donation.payment_type_name }} |
email_opt_in | Email 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_at | Time of successful donation e.g. {{ donation.succeeded_at | date_to_string }} |
recruiter | Recruiter of donor e.g. {{ donation.recruiter }} |
recruiter_id | Recruiter id number e.g. {{ donation.recruiter_id }} |
is_recurring | Checks if the donation is part of a recurring donation e.g. {{ donation.is_recurring? %}} |
tracking_code_slug | The donation tracking code slug |