Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 1.19 KB

2_credentials.md

File metadata and controls

31 lines (18 loc) · 1.19 KB

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 for instructions on adding credentials or ENV Vars.

API keys

You can create (or find) your Stripe private (secret) and public (publishable) keys in the Stripe Dashboard.

Note

By default we're linking to the "test mode" page for API keys so you can get up and running in development. When you're ready to deploy to production, you'll have to toggle the "test mode" option off and repeat all steps again for live payments.

Signing secrets

Webhooks use signing secrets to verify the webhook was sent by Stripe. Check out Webhooks doc for detailed instructions on where/how to get these.

Dashboard

The Webhooks page on Stripe contains all the defined endpoints and their signing secrets.

Stripe CLI (Development)

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

stripe listen --print-secret

Next

See JavaScript