Adapted from https://github.com/rcravens/Stripe.com-Wordpress-Plugin. Added primitive cart-like features to the plugin. TODO: move the inventory specification to the admin panel or something.
From rcravens:
I converted @joeynelson's code here https://github.com/wlrs/stripe-terminal to a Wordpress plugin. The plugin allows you to easily add http://stripe.com payment services to your Wordpress site and begin accepting credit cards.
To get started do the following:
- Pull down the code from Github.
- Create a 'stripe-plugin' folder under your Wordpress plugins folder.
- Upload the code to the new folder.
- Activate the plugin.
- Configure the plugin via the Admin panel
- Add items to the inventory as specified in the Admin panel.
- Use the short code (instructions on the Admin panel) to add a payment form.
If you have improvements, questions or suggestions please feel free to contact me. I know this plugin has lots of room for improvement.
Bob