DOCS
Platform setup

Configure Stripe Connect

Collect the Stripe account id, API key, and webhook secrets, then save them on the platform.

Platform guide

Connecting Stripe Connect takes four things from your Stripe dashboard: the account id, a full access API key, and the signing secrets for two webhooks. Collect them in the order below, then save them on your dhango platform account.

Work in Stripe test mode for dhango sandbox (dhangodemo.com), and in live mode for production (dhango.com).

Account identifier

Open your Stripe account settings and choose View all settings. Copy the account id, which starts with acct_.

Full access API key

Open Developers, then API keys. Create a full access key and choose the option to provide the key to another website. Give it a name such as dhango, set the URL to https://dhango.com, and customize the permissions. Copy the secret key. You only need to keep it until you paste it into dhango.

Account webhook

Open Developers, then Webhooks, and add an endpoint.

  • Sandbox URL: https://webhooks.dhangodemo.com/stripe/ followed by your account id, for example https://webhooks.dhangodemo.com/stripe/acct_123. Include the acct_ prefix only once.
  • Production URL: the same path on https://webhooks.dhango.com.

Choose events on your account, and select these events:

  • charge.dispute.closed
  • charge.dispute.created
  • charge.failed
  • payout.created
  • payout.failed
  • payout.paid
  • reporting.report_run.succeeded

Reveal the signing secret and copy it.

Connect webhook

Add a second endpoint for events on your connected accounts.

  • Sandbox: https://webhooks.dhangodemo.com/stripe
  • Production: https://webhooks.dhango.com/stripe

Choose events on connected accounts, and select account.updated, payout.created, payout.failed, and payout.paid. Reveal and copy this signing secret too.

Save in dhango

On your dhango platform account, open the Processing tab, choose Add Processor, and select Stripe Platform. Paste the account id, the secret key, and both signing secrets, then save.

Ask Stripe to enable raw card and ACH data

Because dhango holds the card and bank details and passes them to Stripe, Stripe has to enable raw card and ACH data APIs on your account, with skip verification turned on for ACH. Submit Stripe's raw card data request, ask for both APIs with skip verification for ACH, and attach dhango's current PCI Attestation of Compliance (AOC).

Stripe supports card splits, covered in Split a payment. It does not support ACH splits.