https://github.com/thorwebdev/react-elements-netlify-serverless
https://github.com/thorwebdev/react-elements-netlify-serverless
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thorwebdev/react-elements-netlify-serverless
- Owner: thorwebdev
- Created: 2020-05-15T08:42:08.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T20:17:34.000Z (over 3 years ago)
- Last Synced: 2025-03-26T02:51:58.702Z (about 1 year ago)
- Language: JavaScript
- Size: 3.97 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-elements-netlify-serverless
## Install
```bash
yarn
```
## Setup env
```bash
cp .env.example .env
```
Add your Stripe keys
## Run
```bash
ntl dev
```
## Test Payment Request Button
See requirements in [docs](https://stripe.com/docs/stripe-js/elements/payment-request-button#react-prerequisites)
```bash
ngrok http 3000
```
## Listen to webhooks
```bash
stripe listen --forward-to localhost:8888/.netlify/functions/webhooks
```