Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.45 KB

README.md

File metadata and controls

39 lines (27 loc) · 1.45 KB

Braintree + Meteor

This is a small example app that shows one way of integration Braintree into your meteor application.

Disclaimer

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.

Initial setup

  1. Install Meteor
  2. Clone this repo git clone [email protected]:NickTomlin/braintree-meteor-example.git
  3. Create a sandbox account
  4. Login to the braintree sandbox
  5. Retrieve your api keys (navigate to: My User > Api Keys)
  6. Insert the keys into settings.json and remove the .example extension

Start

$ meteor --settings settings.json

Integration Tests

npm i -g protractor
# meteor app should be running
protractor protractor.conf.js

At the moment the test require protractor to be installed globally, to avoid complications with Meteor's auto-loading behaviour. This is not ideal.

Issues?

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.