Where: Settings → Readers & money → Connections → Payments
Open this page: admin.<your-site>/settings/connections/payments (replace <your-site> with your site address)
Before you start
- A Stripe account. You must be the site owner.
Steps
- In Keynate, open Settings → Readers & money → Connections → Payments and press Add connection.
- Choose the Gateway Stripe and the Mode: Test mode or Live mode.
- In Stripe, go to Developers, API keys. Copy the Publishable key and the Secret key.
- Paste them into Keynate.
- Press the button at the bottom of the sheet (it reads Connect Razorpay for every gateway) and copy the Webhook URL from the card.
- In Stripe, go to Developers, Webhooks. Add an endpoint with this URL and select the listed events.
- Copy Stripe's signing secret and paste it in Webhook signing secret in Keynate.
- Press Test connection.
More help: Payment messages (webhook).
Good to know
- The publishable key starts with
pk_test_orpk_live_. The secret key starts withsk_(orrk_for a restricted key). The signing secret starts withwhsec_. - Modes must match: a live key in a test-mode connection is rejected.
Common problems
- "Paste the publishable key. It starts with pk_test_ or pk_live_."
- "Paste the secret key. It starts with sk_test_, sk_live_, rk_test_ or rk_live_."
- "Paste the webhook signing secret. It starts with whsec_."
Questions
Frequently asked questions
Can I use Stripe and Razorpay together?
Yes. Choose which gateway each country uses in Countries and taxes.
Do I need a restricted key?
A secret key or a restricted key both work. Restricted keys start with rk_.