Skip to content

tommymarshall/Stripe-Donation-Form

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stripe Donation Form

Description

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.

View Demo | Download Script

Features

  • Process donation using Stripe Payments
  • Validate user input
  • Forward user to Thank You page
  • Email receipt to Administrator and donor

Requirements

  • SSL Certificate installed on server (Not required for testing purposes)
  • PHP 5.2+

Installation

  1. Open config.php in a text or code editor
  2. Update configuration (Your public and private keys can be accessed at http://manage.stripe.com/ and click on Your Account, then API Keys.)
  3. Copy entire contents of folder to your web server
  4. Start collecting donations online in Test Mode(Check out Stripe's docs online for testing)

About

Simple donation form using Stripe.com Payments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published