An open API service indexing awesome lists of open source software.

https://github.com/thorwebdev/react-elements-netlify-serverless


https://github.com/thorwebdev/react-elements-netlify-serverless

Last synced: 5 months ago
JSON representation

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
```