This sandbox is used for testing our Braintree Gateway.
- Use the terminal to clone this repo to your desired location.
git clone https://github.com/malewis5/payment-sandbox.git
- Create an .npmrc file
@peakactivity:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=<TOKEN>
- Create an .env file
REACT_APP_PAYMENT_MS_ENDPOINT = <microservice endpoint>
- Navigate your terminal to the new directory and install dependencies.
cd payment-sandbox
npm install
- Start the local development server.
npm start
- Use ngrok to run using HTTPS.
ngrok http --region=us --hostname=revcommerce.ngrok.io 3000
- The sandbox is now live at https://revcommerce.ngrok.io ✨.
For questions regarding the sandbox please see our payments documentation.