SkillAgentSearch skills...

BTRNSample

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

Install / Use

/learn @alanhhwong/BTRNSample
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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
View on GitHub
GitHub Stars11
CategoryDevelopment
Updated7y ago
Forks7

Languages

Objective-C

Security Score

60/100

Audited on Feb 5, 2019

No findings