Stripe
Accept payments through Stripe. Once installed, this integration becomes available as a payment gateway for the Billing app.
Prerequisites
Prerequisites
Before setting up the Stripe integration, ensure you have:
Get your API keys
- Sign in to the Stripe Dashboard
- Open Developers > API keys
- Copy the Publishable key and reveal and copy the Secret key
Stripe provides separate test and live keys. Use test keys for your development environments and live keys only for production.
warning
The secret key can move money. Store it securely and never expose it in client-side code — DashX keeps it server-side.
Create a webhook endpoint
Stripe notifies DashX of payment events — successful charges, failed payments, subscription changes — through a webhook.
- In the Stripe Dashboard, open Developers > Webhooks
- Click Add endpoint
- Enter the webhook URL shown on the DashX integration page after you install it
- Select the events you want delivered
- Save the endpoint, then reveal and copy its Signing secret
Connect to DashX
- Log in to your DashX workspace
- Navigate to Settings > Integrations
- Click [+] to add a new integration and select Stripe
- Choose the environments you want to enable it for
- Enter the configuration below and save
Configuration
| Field | Description |
|---|---|
| Publishable Key | Stripe publishable key, safe to expose in client code. |
| Secret Key | Stripe secret key. Used server-side to create and manage charges. |
| Webhook Secret | Signing secret of the webhook endpoint, used to verify that incoming events genuinely came from Stripe. |
tip
Install Stripe with test keys in your development environment and live keys in production, so test transactions never touch real money.