Braintree GraphQL Demo
Simple demo showcasing Braintree Drop-in UI and Hosted Fields via GraphQL API
Usage
- Download or clone the repo
- Run
npm install
in root directory - Create
.env
file with:
REACT_APP_PRIVATE_KEY=your braintree private key
REACT_APP_PUBLIC_KEY=your braintree public key
- 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