/bt-gql

Braintree GraphQL demo

Primary LanguageJavaScript

Braintree GraphQL Demo

Simple demo showcasing Braintree Drop-in UI and Hosted Fields via GraphQL API

Demo Site

Braintree GraphQL API

Usage

  1. Download or clone the repo
  2. Run npm install in root directory
  3. Create .env file with:
REACT_APP_PRIVATE_KEY=your braintree private key
REACT_APP_PUBLIC_KEY=your braintree public key
  1. Run npm start

Test Cards

Card Number: 4111 1111 1111 1111
Exp Date: 12/23
CVV: 123
Card Number: 5555 5555 5555 4444
Exp Date: 12/23
CVV: 123