Skip to content

Sample react native app that uses react-native-braintree to accept payments

Notifications You must be signed in to change notification settings

alanhhwong/BTRNSample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BTRNSample

Sample react native app that uses react-native-braintree module to accept payments

Client

React native client built using react-native-braintree module

  1. Run npm install
  2. Run npm start (starts react-packager)
  3. Open ios/BTRNSample.xcworkspace in Xcode
  4. Build and run iOS app

Server

Simple node server using Braintree server SDK to:

  1. Generate and serve client token
  2. Create transaction using a payment method nonce

To run:

  1. Run npm install
  2. Replace the Braintree keys with your own (In Braintree control panel: Account->My User->View Authorizations->Click on Public Key->Select Node->copy)
  3. node btserver.js

About

Sample react native app that uses react-native-braintree to accept payments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages