Simple Stripe API
This library is a simplified version of stripe-meteor, see those docs for a complete reference
Installation
- Create a meteor project
- Create a packages directory in the project
- Clone simplestripe into packages folder
meteor add maxjohansen:simplestripe
Usage
- Add a settings.json file (copy format of samplesettings.json inside of package) to your project root directory and launch meteor
meteor --settings settings.json - Add the
connectToStripeButtonTemplatetemplate somewhere in your UI{{>connectToStripeButtonTemplate}}. This will create a merchant account for your user and attach stripe info to Meteor.user() - Add the
payForItemButtonTemplateinside of your item to be purchased{{>payForItemButtonTemplate}}
Notes
This is a very new project subject to drastic changes.