This is a small example app that shows one way of integration Braintree into your meteor application.
I am not a Meteor developer and as such this example may not follow any of Meteor's best practices. Use it at your own peril If you notice something amiss, or want to see a new feature covered (e.g. storing customers) please implement it and submit a PR. All contributions are welcome.
- Install Meteor
- Clone this repo
git clone git@github.com:NickTomlin/braintree-meteor-example.git - Create a sandbox account
- Login to the braintree sandbox
- Retrieve your api keys (navigate to: My User > Api Keys)
- Insert the keys into
settings.jsonand remove the.exampleextension
$ meteor --settings settings.jsonnpm i -g protractor
# meteor app should be running
protractor protractor.conf.jsAt the moment the test require protractor to be installed globally, to avoid complications with Meteor's auto-loading behaviour. This is not ideal.
For issues related to this repo, please submit an issue on github. Any braintree related problems should be directed to Braintree Support or #braintree on StackOverflow.