Script tag
Start using Everfund's donation elements with a Script Tag.
When developing a website without using a JavaScript bundler like Vite or Webpack, you will want to use hosted libraries on a CDN network like JSDelivr.
The best way to implement Everfund into a website that does not have a bundling stage is using the JSDelivr CDN. The script below is recommended to be added just before the end of </body>
Install Donation Elements
Optional (Recommended) Add Apple pay verification
- Download the domain association file found here.
- Upload the verification file to your website so it is accessible at
charityname.com/.well-known/apple-developer-merchantid-domain-association
- Navigate to the domain page found in your Organization’s settings page in the Everfund dashboard.
- Enter your domain name in the new domain form. These are the domains that you want to enable browser payments on, and they must be the same as the domain that you are hosting your donation portal on.
- Click on the verify button in the Everfund dashboard