PHP Donations Form
A donations form to run on your own site. It works great on mobile handsets as well because it is powered by the Bootstrap responsive framework. Requires an active Stripe account for use.
Who Should Use It
This project is ideal for non-profits and political campaigns that need on-site donations. Note that it any page that processes financial data should be served over SSL (
- From the root directory of the downloaded or cloned repository, run
composer installto get the necessary library. If you are not familiar with Composer, start here.
app-config.phpand complete with your Stripe API keys
- Update the Google Analytics code in
index.phpto properly track for your site (or remove it entirely)
assets/img/logo.pngwith something more meaningful
- Test everything! (no money is processed in test mode)
- Switch your Stripe API keys to the production set
- Switch your Stripe account to Live mode
- Test everything! (small dollar amounts, as these are actually processed)
You can override the default styles in
How It Works
Questions or issues?
Simply file an issue on our GitHub project.