Skip to content

Commit

Permalink
Update 2_credentials.md
Browse files Browse the repository at this point in the history
  • Loading branch information
excid3 authored Dec 29, 2021
1 parent 515b766 commit fcf1055
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions docs/stripe/2_credentials.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
# Credentials
# Stripe Credentials

To use Stripe with Pay, you'll need to add your API keys and Signing Secret(s) to your Rails app. See [Configuring Pay](/docs/2_configuration.md#credentials) for instructions on adding credentials or ENV Vars.

### API keys

You can find your Stripe private (secret) and pubilc (publishable) keys in the [Stripe Dashboard](https://dashboard.stripe.com/test/apikeys).

### Signing secrets

#### Dashbaord
Webhooks use signing secrets to verify the webhook was sent by Stripe. You can find these on your Stripe Dashboard or the Stripe CLI.

#### Dashboard

Each webhook endpoint has it's own signing secret that you can reveal on the [Webhook detail page](https://dashboard.stripe.com/test/webhooks/).
The [Webhooks](https://dashboard.stripe.com/test/webhooks/) page on Stripe contains all the defined endpoints and their signing secrets.

#### Stripe CLI
#### Stripe CLI (Development)

View the webhook signing secret used by the Stripe CLI by running:

Expand Down

0 comments on commit fcf1055

Please sign in to comment.