Skip to content

NickTomlin/braintree-meteor-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A simple Meteor and Braintree drop-in integration

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published