The Donate link provides an interface for facilitating donations to nonprofits via Every.org. Compared to the Every.org Donate Button, the donate link provides more configurability over the donation flow on Every.org as well as more control over the experience in your own website or app.
The basic format of a Donate link is as follows:
nonprofit-identifier token can be replaced by either the nonprofit’s
primary slug (which you might have if you’re using
Nonprofit Search API) or with the nonprofit’s EIN.
The link can also be customized with the following URL parameters which control various aspects of the donation experience.
amount- specify donation amount.
min_value- specify a minimum value for the donation
frequency- specify donation frequency. Allowed values are
first_name- specify donor's first name.
last_name- specify donor's last name.
description- customize the text on the nonprofit's card in the donation modal.
no_exit- If specified (with any value), then the background of the donation modal will be hidden.
success_url- specify a url to which to redirect the user after they have successfully completed their donation.
partner_donation_id- Specify a unique ID that you want to be associated with this donation.
require_share_info- If present, requires that the donor share their contact info for the donation.
share_info- Set whether sharing info is checked by default.
webhook_token- Specify the token associated with your Partner Webhook. Including this parameter will cause a notification to be sent to your webhook for every donation completed via this donate link.
theme_color- Customize the primary theme color of the donation modal.
method- Specify the allowed donation methods. Allowed values are
daf. Multiple options can be specified using commas: i.e.
staging.every.org to create links that work
against our staging environment. In the staging environment you can use the
following test credit card credentials to verify functionality without spending
Credit card #: 4242 4242 4242 4242
Expiration date: 04/24
CVC code: 242
Zip code: 42424
https://www.every.org/givedirectly#donate - A simple donate link for GiveDirectly.
https://www.every.org/27-1661997#donate - A donate link for GiveDirectly that uses their EIN as the identifier.
https://www.every.org/givedirectly?amount=10&frequency=MONTHLY#donate - A donate link for GiveDirectly that specifies a monthly donation of $10.
https://www.every.org/givedirectly?no_exit=true&success_url=https%3A%2F%2Fgivingmultiplier.org#donate - A donate link that hides the donation modal background and redirects the donor to givingmultiplier.org when they complete their donation.