This is a simple example showing how to accept donations directly from your website using Stripe. Note: This is meant to help you get started, not to be the final product. You should add server-side validation. Idealy, you would be using Composer to import the most recent version of Stripe's PHP SDK, but for simplicity, the library is included.
- Process donation using Stripe Payments
- Validate user input
- Forward user to Thank You page
- Email receipt to Administrator and donor
- SSL Certificate installed on server (Not required for testing purposes)
- PHP 5.2+
- Open config.php in a text or code editor
- Update configuration (Your public and private keys can be accessed at http://manage.stripe.com/ and click on Your Account, then API Keys.)
- Copy entire contents of folder to your web server
- Start collecting donations online in Test Mode(Check out Stripe's docs online for testing)