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.
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 (https://
).
composer install
to get the necessary library. If you are not familiar with Composer, start here.config/app-config.php-dist
to app-config.php
and complete with your Stripe API keysindex.php
to properly track for your site (or remove it entirely)assets/img/logo.png
with something more meaningfulYou can override the default styles in assets/css/donations-form.css
. You can do most changes to the layout of the objects without needing to update the JavaScript as long as the form field IDs do not change.
The form on the landing page interacts with the Stripe JavaScript API to obtain a token for the provided credit card. The token is then used on the backend (along with additional form fields) to create a payment in Stripe.
Simply file an issue on our GitHub project.