Skip to content

Payment providers: connect Stripe, PayPal, Razorpay or EveryPay

Describes Billing 0.27.0.

Billing can take online payments through four providers. This page turns each one on and stores its keys.

Where to find it

Open Settings, then Billing, then the Payment Providers tab, at /admin/settings/billing/providers. You need the Manage billing settings permission. The Billing module must be on; otherwise the page says Billing module is not enabled.

The Payment Providers tab: Stripe, PayPal and Razorpay cards, each with its switch, keys, webhook secret and webhook URL The Payment Providers tab: Stripe, PayPal and Razorpay cards, each with its switch, keys, webhook secret and webhook URL

Payment providers: Stripe, PayPal and Razorpay.

Active providers

The bar at the top lists the providers that are ready to take payments, or None configured. A provider counts as ready when it is switched on and its main key is filled in.

The provider cards

Each card has a switch at the top right that turns the provider on or off at once (“Stripe enabled”, “Stripe disabled” and so on).

  • Stripe (“Cards, Apple Pay, Google Pay”): Secret Key, Publishable Key, Webhook Secret.
  • PayPal (“PayPal, Venmo, Cards”): Mode (Sandbox (Test) or Live (Production)), Client ID, Client Secret, Webhook ID.
  • Razorpay (“India payments (UPI, Cards)”): Key ID, Key Secret, Webhook Secret.
  • EveryPay (“Card payments (Baltics)”): Mode (Test (Demo) or Live (Production)), API Username, API Secret, Account Name.

A green Set next to a field means a value is stored. Stored values are never shown again.

Each card shows the Webhook URL (for EveryPay, the Callback URL) to enter at the provider. The copy button, Copy to clipboard, copies it.

Save Stripe, Save PayPal, Save Razorpay and Save EveryPay store the card’s fields. Saving writes every key field of the card, including the empty ones, so an empty field replaces a stored key with nothing. Fill in all keys of a card each time you save it.

Setup instructions

The card at the bottom lists the steps at each provider, for example for Stripe: “Create account at stripe.com”, “Get API keys from Dashboard → Developers”, “Create webhook with events: checkout.session.completed, payment_intent.*” and “Copy webhook signing secret”. For EveryPay: “Use Test mode against the demo gateway first”.

What it doesn’t do

  • It doesn’t check that keys are valid; a wrong key shows up only when a payment is tried.
  • Stripe and Razorpay have no test/live switch here; the keys you enter decide.