If your customers should pay invoices online or be charged automatically by card or direct debit, you connect FlowAccounting to your own Stripe account. The money goes straight to you in Stripe. FlowAccounting learns about incoming payments through a webhook.
Connect Stripe
Open the Settings (sidebar Administration › Settings) and scroll all the way down to the Stripe connection block. Without a connection it shows Not connected.
- Log in to your Stripe dashboard and copy your secret key and your publishable key.
- Enter them in Stripe secret key and Stripe public key. The secret key starts with
sk_live_orsk_test_. - Click Save and test. FlowAccounting checks the keys and then shows Connected (Live) or Connected (Test).

With a test key (sk_test_) you can try everything safely, no real money moves. For real payments, store the live key.
The publishable key is needed for the form in which your customer enters their card or IBAN. Without it, no payment method can be stored.
Webhook for the payment status
Through the webhook, Stripe reports every payment event to FlowAccounting, such as a successful or failed charge. Only then is the invoice set to paid automatically.
- Under Webhook, click Register automatically at Stripe. FlowAccounting sets up the webhook itself.
- If your key isn't allowed to do that, the block shows Set up webhook manually. Create the webhook in the Stripe dashboard with the Webhook URL shown and the events listed, copy the Signing secret and save it with Save signing secret.
What becomes possible
- Invoice emails contain a button for paying online, and you can copy payment links, see Payment link for customers.
- You can store a card or SEPA mandate for customers and charge invoices automatically, see Store a card or SEPA mandate for a customer.
- Which payment methods are offered and when charges happen is set in the same block, see Which payment methods do I offer through Stripe, and when are charges made?
Disconnect
Disconnect removes Stripe from FlowAccounting. Automatic charges stop working, and payment links are no longer offered for open invoices.
If something goes wrong
- "Invalid Stripe key format (expected sk_live_ or sk_test_)." You probably pasted the publishable key into the secret key field.
- Payments arrive in Stripe, but the invoice stays open: the webhook is missing or the signing secret is wrong. Set it up as described above. Until then, record the payment by hand, see Record a payment or part payment.
- You don't see the settings: your role isn't allowed to change the FlowAccounting settings, see Access and permissions in FlowAccounting.
- Never share the secret key. It works like a password for your Stripe account. After saving, FlowAccounting only shows it shortened.