Awesome
BTRNSample
Sample react native app that uses react-native-braintree module to accept payments
Client
React native client built using react-native-braintree module
- Run
npm install
- Run
npm start
(starts react-packager) - Open
ios/BTRNSample.xcworkspace
in Xcode - Build and run iOS app
Server
Simple node server using Braintree server SDK to:
- Generate and serve client token
- Create transaction using a payment method nonce
To run:
- Run
npm install
- Replace the Braintree keys with your own (In Braintree control panel: Account->My User->View Authorizations->Click on Public Key->Select Node->copy)
node btserver.js