Connect Stripe
Connect your own Stripe account so clients pay invoices by card: secret key, webhook with checkout.session.completed and charge.refunded, refunds.
With Stripe connected, clients pay invoices online from the pay link or the client portal: cards, Interac debit, Apple Pay, Google Pay and pre-authorized debit (PAD). The money is deposited to your own Stripe account. Vjobo needs a webhook so Stripe can tell it when a payment or refund happens.
Who can do this: people whose role includes Company settings & integrations (by default, only the Owner). You also need access to your Stripe dashboard (https://dashboard.stripe.com) as an Administrator or Developer.

What these keys do in Vjobo
The Stripe connection dialog asks for two values. Each field has a ? icon that opens this guide in a new tab.
| Field | Looks like | Where it comes from | What Vjobo does with it |
|---|---|---|---|
| Secret key | sk_live_… (or sk_test_… in test mode) | Stripe › Developers › API keys | creates the secure checkout page for each invoice and reads your account name |
| Webhook signing secret | whsec_… | Stripe › Developers › Webhooks › your endpoint | proves that payment and refund messages really come from Stripe |
Before you start
- Your Stripe account must be activated (business details and bank account filled in) to accept real payments.
- On vjobo.com, Vjobo connects your Stripe account in Live mode (real payments): use your live secret key (
sk_live_…). A test key is refused with "Use a test key for test mode and a live key for live mode." - Turn on the payment methods you want clients to see in Stripe › Settings › Payments › Payment methods (cards, Apple Pay, Google Pay, Interac, pre-authorized debit).
- Do the steps in order: you need the webhook URL from Vjobo before you can get the signing secret from Stripe.
Step 1: open the connection dialog
- Go to Settings › Payments.
- On the Stripe card, click Connect (or Manage if already connected).
- If the dialog shows Mode, choose Live (or Test if it is offered and you are trying things out with Stripe's test mode). When only one mode is available, there is no choice to make.
- The dialog shows a Webhook URL in the form
https://<your company address>/hooks/stripe/<company id>. Click Copy next to it. Keep the dialog open.
Step 2: get your secret key
- In a new tab, sign in to the Stripe dashboard.
- Check the Test mode switch (top right; named Sandbox in some accounts) is off for live keys.
- Go to Developers › API keys (click Developers at the bottom left, or search "API keys").
- Under Standard keys, find Secret key and click Reveal live key (you may be asked to confirm your password or a code).
- Copy the key; it starts with
sk_live_. Do not copy the Publishable key (pk_live_…): Vjobo does not use it.
Step 3: add the webhook in Stripe
- In the Stripe dashboard (still in live mode), go to Developers › Webhooks (named Workbench › Webhooks in some accounts).
- Click Add endpoint (or Add destination › Webhook endpoint).
- Endpoint URL: paste the Webhook URL you copied from Vjobo, exactly as shown.
Events: click Select events and tick:
checkout.session.completed(required — a client paid an invoice or saved a payment method)charge.refunded(required — a refund was made in Stripe)payment_intent.succeededandpayment_intent.payment_failed(for Autopay: pre-authorized debits settle a few business days later)
- Leave Listen to on Events on your account and the API version as proposed.
- Click Add endpoint (or Create destination).
- On the endpoint's page, under Signing secret, click Reveal and copy the value; it starts with
whsec_.
Each endpoint has its own signing secret. If you delete and recreate the endpoint, copy the new secret.
Step 4: paste your keys in Vjobo
- Back in the Vjobo dialog, paste your Secret key (starts with
sk_live_, orsk_test_in test mode). - Paste the Webhook signing secret (starts with
whsec_). - Click Connect in Live mode (or Connect in Test mode).
Vjobo checks the key with Stripe. When it works, the card shows Connected, the mode badge and your Stripe account name. The card then lists the stored keys masked (•••• followed by the last 4 characters) and the Webhook URL so you can check it later.
What happens when a client pays
- The client opens the pay link (from the invoice email or the portal) and pays through Stripe's secure checkout.
- When Stripe reports the payment, the invoice becomes Paid (or partially paid) and the payment is listed on the invoice with the provider Stripe.
- People who can see invoices get a "Payment received" notification.
Refunds
Make refunds in your Stripe dashboard. When Stripe sends the charge.refunded event, Vjobo reopens the invoice balance by the refunded amount; a partial refund reopens only that part. If QuickBooks is connected, a Refund Receipt is added there too.
Test it
- Create a small test invoice for yourself and click Send to client.
- Open the pay link and pay with Stripe.
- Check that the invoice shows Paid within a few seconds.
- In Stripe, open Developers › Webhooks › your endpoint: the
checkout.session.completeddelivery shows 200 OK (named Delivered in some dashboards). - Refund it in Stripe and check that the balance reopens.
Common errors
| Message | Cause | Fix |
|---|---|---|
| "Use a test key for test mode and a live key for live mode." | You pasted an sk_test_… key while connecting in Live mode (or a live key in Test mode). | Turn off Test mode in Stripe, copy the sk_live_… key and paste it again. |
| "Add the webhook signing secret (whsec_…) from Stripe." | The signing secret is empty or is not a whsec_ value (for example you pasted the endpoint ID we_…). | Open your endpoint in Developers › Webhooks, click Reveal under Signing secret and copy the whsec_… value. |
| "The provider rejected these credentials. Check them and try again." (Stripe: "Invalid API key provided") | The secret key is incomplete, was rolled (replaced) in Stripe, or is a publishable key (pk_…). | Copy the whole secret key again from Developers › API keys. |
| Invoices stay unpaid after a successful payment | The webhook URL is wrong, the events are missing, or the signing secret is from another endpoint. Stripe shows failed deliveries (400 or 404) on the endpoint. | Check the URL matches the one on the Stripe card exactly, the events listed above are ticked, then Replace keys with the right signing secret. |
| Refunds don't reopen the balance | charge.refunded is not selected on the endpoint. | Add the event to the endpoint. |
Replace keys or disconnect
- After connecting, the card shows the stored keys masked. Click Replace keys to reopen the dialog and paste new ones (for example after you roll your secret key in Stripe or recreate the webhook endpoint). Saved keys are never shown in full.
- To change mode, click Manage and connect again.
- Disconnect (after confirming) stops all traffic to Stripe and removes the saved keys.
Security notes
- Your keys are encrypted and never shown again in full; Vjobo displays only
••••and the last 4 characters. - The secret key gives access to your Stripe account. Never send it by email, text or chat — not even to Vjobo support.
- If you think a key leaked, in Stripe click Roll key next to the secret key (or Roll secret on the webhook endpoint), then Replace keys in Vjobo right away.
- Turn on two-step authentication on your Stripe account.