Dues payment system for NYC IWW IU460
Branch: master
Clone or download
Latest commit 20d2c7a Feb 8, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
css Major overhaul and cleanup Feb 10, 2016
js Rename from-validation.js to form-validation.js Feb 8, 2017
LICENSE.md Major overhaul and cleanup Feb 10, 2016
composer.lock Major overhaul and cleanup Feb 10, 2016
config-example.php Major overhaul and cleanup Feb 10, 2016
index.php Major overhaul and cleanup Feb 10, 2016
modals.html Major overhaul and cleanup Feb 10, 2016
robots.txt Major overhaul and cleanup Feb 10, 2016


IWW Dues Payment System

This is a small and simple dues payment system developed specifically for Brandworkers and IWW IU460. It is written in php and uses Stripe to handle all transactions.

You can see an example of it being used in production here.


Note: Your production server needs to have either Apache or nginx and php5. You should set up and configure that, if you haven't already. Also, in order to use Stripe in production you need and SSL/TLS certificate on your server. To get one you can use either cloudflare or Let's Encrypt. Both of those services offer high grade free certificates. Specific details for setting up a server and SSL/TLS encryption are beyond the scope of this document.

  1. Go to Stripe.com and setup and account.

  2. Install Composer dependency manager on your development machine, if you don't have it already.

  3. Clone the repo to your development machine and get all the dependencies:

    git clone https://github.com/bananana/iww-dues cd iww-dues composer update

  4. Configure the application:

    mv config-example.php config.php

Use your favorite text editor to edit config.php. Under // General Settings modify the config values if necessary. Under // Stripe Settings add both testing and production API keys (you can find them in Account Settings under "API Keys" tab on Stripe's website).

  1. Before you're readity to move to production server, make sure that SSL/TLS is setup and working correctly.

  2. Copy application files to the server using either scp, rsync or whatever else you prefer.

  3. Edit config.php on the server and under // Mode switch the $testing variable to false.

To Do

  • Better error handling
  • Get picture of membership card for better directions