BSS Stripe Connect

Created on: Jul 28, 2026

BSS Stripe Connect Marketplace Plugin
BSS Stripe Connect brings full marketplace payment splitting to your nopCommerce multi-vendor store. A customer pays once for an entire multi-vendor order and the plugin automatically splits that payment across every vendor — commission deducted, net share calculated, and payouts released on the schedule you choose. Vendors onboard themselves through Stripe's hosted flow, track their own earnings in real time and get paid via Instant, Automatic or Manual payout modes, while refunds — full or partial — are reversed proportionally across vendors without any manual reconciliation. This guide covers installation, license activation, plugin configuration, and complete Stripe setup in both test mode (sandbox, no real money) and live mode (real payments).
BEFORE YOU START

Make sure all of the following are true before you begin:

  • nopCommerce 4.90 with the built-in Multi-vendor feature (Vendors) enabled.
  • BSS Core plugin installed first — Stripe Connect depends on it.
  • A Stripe account (free signup at stripe.com). Test mode needs no activation; live mode does (see the Live Mode section).
  • Stripe Connect enabled on that account — the plugin uses Stripe Express connected accounts for vendors.
  • Your store reachable over a public HTTPS URL with a valid certificate. Stripe delivers webhooks only to publicly reachable HTTPS endpoints; for localhost testing use the Stripe CLI method in Step 4B below.
  • At least two vendors with products if you want to see the payment split in action.
INSTALLATION
  • Go to the Order Details Page and Download plugin package.
  • Go to Admin → Configuration → Local plugins.
  • Within the bundle, you get all the required files, including BSS.Core.
  • Upload the zip files using the 'Upload plugin or theme' button.
upload plugin from admin panel
upload plugin zip file from admin panel
  • Reload the plugin list and install ‘BSS Core’ first, then install ‘BSS Stripe Connect’.
upload plugin zip file from admin panel
  • Restart the application to activate the plugins.
  • The plugin installs its database tables, seeds default settings and auto-enables itself as a payment method.
upload plugin zip file from admin panel

Recommendation: Go to App Settings. If JavaScript bundling and minification and CSS bundling and minification are checked, uncheck and disable them.

upload plugin zip file from admin panel
LICENSE ACTIVATION
  • BSS licenses are managed centrally by BSS Core — they are not entered on the plugin's own settings page.
  • Go to Admin → BSS Core → License, paste the license string from your purchase, and save. You can check every license's status under Admin → BSS Core → License status.
  • Until a valid license is active, the plugin stays installed but the Stripe Connect payment method is hidden at checkout.
CONFIGURATION
  • Go to Admin → BSS → Plugins → Stripe Connect → Configuration.

Stripe credentials

  • Secret Key: your Stripe secret API key (sk_test_… for testing, sk_live_… for production), copied from the Stripe Dashboard under Developers → API keys. If left empty, the payment method is automatically hidden at checkout.
  • Webhook Secret: the signing secret (whsec_…) of your webhook endpoint — created in the setup sections below. Required for reliable payment confirmation, vendor account status sync, and refund sync.

Commission — your marketplace's cut of every vendor sale

  • Commission Type: Percentage (a % of each vendor's gross) or Fixed (a fixed amount per vendor per order).
  • Commission Value: the percentage (0–100) or fixed amount your marketplace keeps. The vendor is always paid gross minus this commission.

Vendor payouts — when vendors receive their money

  • Payout Mode:
    • Instant: each vendor's net share transfers automatically the moment the customer's payment is confirmed.
    • Manual: earnings accumulate as Pending and you release them from the Vendor Payouts dashboard whenever you choose — the safest mode while you test.
    • Automatic: the plugin's hourly scheduler transfers each share a set number of days after the customer's payment — hands-free.
  • Automatic payout delay (days): used only when Payout Mode is Automatic — how many days after purchase the payout is released (3, 5, whatever fits your store).
  • Minimum Payout Amount: vendors whose accumulated pending total is below this amount are held over to the next payout run. Applies to Make-payment runs; the per-row Pay now button can always override it.

Tip: With Manual mode, vendor money stays with the marketplace until you release it — refunds that arrive before payout day are simply deducted from what's pending.

Checkout fee & email notifications

  • Additional Fee: optional surcharge added at checkout for customers paying with Stripe (leave 0 for none). Tick Additional Fee. Use Percentage to treat it as a percentage of the order total instead of a fixed amount. This can cover Stripe's own processing fees — note the fee is not refunded to the customer on refund.
  • Email vendor when paid: emails the vendor each time one of their payouts is transferred to their Stripe account.
  • Email vendor on refund: emails the vendor when a refund recovers money from their payout — their balance may go negative.
  • Email vendor when account is ready: emails the vendor once their Stripe account is fully set up and can receive payouts.
  • Email store on reversal failure: emails the store's default address when a payout reversal can't complete, so you can retry it manually.

Each notification toggle is off by default — enable only what you want. An email account must also be configured in nopCommerce for any email to actually send. Every field above can be overridden per store in multi-store setups using the checkbox next to it. 

TEST MODE SETUP (SANDBOX)

Test mode lets you run the complete marketplace flow — customer payment, split, vendor onboarding, payouts, refunds — without moving real money. A Stripe account does not need live activation for this.

Step 1 — Enable Connect in test mode.

  • Log in to dashboard.stripe.com and make sure the Test mode toggle (top-right) is ON.
  • Open Connect from the left navigation (or search "Connect / Connected Accounts") and click Get started / Enable Connect.
  • Complete the short platform profile: business/platform type Marketplace, your platform country, and a description of what your marketplace sells.
  • (Optional) Under Settings → Connect → Branding set your business name, icon and brand colour — vendors see this on Stripe's onboarding screens.

Step 2 — Copy the test Secret Key.

  • In Test mode, open Developers → API keys (bottom-left, or Workbench → API keys).
  • Find the Secret key, click Reveal, and copy it — sandbox keys always start with sk_test_.

Step 3 — Enter the key in the plugin.

  • Go to Admin → BSS → Plugins → Stripe Connect → Configuration, paste the key into Secret Key, and save.
  • The payment method now appears at checkout — but leave Payout Mode on Manual while testing, so no vendor money moves until you choose.

Step 4A — Create the webhook endpoint (public HTTPS store).

  • Still in Test mode, open Developers → Webhooks (or Workbench → Webhooks) → Add destination / Add endpoint.
  • Choose Webhook endpoint as the destination type, then select exactly these four events:
  • checkout.session.completed — customer finished paying → marks the order paid and runs the vendor split
  • checkout.session.expired — checkout session timed out unpaid
  • account.updated — a vendor's Stripe account status changed (powers payouts enabled sync)
  • charge.refunded — a refund issued in the Stripe Dashboard syncs back into nopCommerce
  • Set the Endpoint URL to your store's public HTTPS address plus the plugin's webhook path:

https://<your-store-domain>/StripeConnectWebhook/HandleWebhook

  • Save the endpoint, open it, click Reveal on the Signing secret, and paste the whsec_… value into Webhook Secret in the plugin configuration → Save.

Step 4B — Testing on localhost (Stripe CLI).

A dashboard webhook can never reach localhost. Forward events with the Stripe CLI instead:

  • 1. Install the Stripe CLI and verify it: stripe --version
  • 2. Log in (opens your browser): stripe login
  • 3. Forward events to your local site — adjust the port/path to your site:

stripe listen --forward-to 'https://localhost:5001/StripeConnectWebhook/HandleWebhook' --skip-verify

  • 4. The CLI prints a whsec_… secret when it starts — paste it into Webhook Secret. If the printed secret changes (for example after a fresh login), update the plugin setting to match.
  • --skip-verify is only needed for a self-signed local certificate. Keep the CLI running while you test; watch its terminal to see each webhook arrive in real time.

Step 5 — Run a full test.

  • Onboard test vendors (see Vendor Onboarding below).
  • Place a test order containing products from two vendors and pay on Stripe's hosted page with a test card: 4242 4242 4242 4242, any future expiry, any CVC (3DS test card: 4000 0025 0000 3155; declined: 4000 0000 0000 0002).
  • Confirm the order is marked Paid, the payout rows appear under Admin → BSS → Plugins → Stripe Connect → Vendor Payouts as Pending, then release them with Pay now.
LIVE MODE SETUP (PRODUCTION)

Live mode moves real money. Every card charge, vendor payout, and refund is real. Run one final real end-to-end order (and refund it) before announcing go-live.

Step 1 — Activate your Stripe account for live payments.

  • In the Dashboard switch the top-right toggle from Test mode to Live mode.
  • Complete Activate your account: business type, business details, your bank account (where your commission settles), and identity verification. Wait until the dashboard shows payments enabled.

Step 2 — Complete the Connect platform profile (the critical live-only step).

  • This step does not exist in sandbox — skipping it is the #1 reason live onboarding fails with "You must complete your platform profile to use Connect and create live connected accounts."
  • Open dashboard.stripe.com/connect in Live mode and complete the platform profile: what kind of business/marketplace you run, your platform country, and your statement descriptor.
  • Stripe asks the platform to accept liability for refunds, disputes/chargebacks, and negative balances on connected accounts — read it with whoever owns that risk in your business before you click accept; you must accept to create live vendor accounts.
  • (Recommended) Set your Connect branding under Settings → Connect → Branding — vendors see it on Stripe's onboarding screens.

Step 3 — Copy your live Secret Key.

  • In Live mode, open Developers → API keys and copy the Secret key — it starts with sk_live_.

Step 4 — Create the live webhook endpoint.

  • Test and live webhooks are completely separate — a test endpoint never fires for live payments, so create a fresh one in Live mode.
  • Open Developers → Webhooks → Add endpoint, select the same four events (checkout.session.completed, checkout.session.expired, account.updated, charge.refunded), and set the Endpoint URL to:

https://<your-live-domain>/StripeConnectWebhook/HandleWebhook

  • Save, click Reveal on the Signing secret, and copy the whsec_… value. No Stripe CLI is needed — a live store receives webhooks directly at its public URL.

Step 5 — Configure the plugin with live values.

  • In Admin → BSS → Plugins → Stripe Connect → Configuration, paste the sk_live_… key into Secret Key and the live whsec_… secret into Webhook Secret. Set your Commission, Payout Mode, and other settings, then Save and clear the cache.

Step 6 — Onboard your real vendors.

  • Test vendors do not carry over — any vendor onboarded in test mode cannot be used with the live key. Disconnect old test connections under Admin → BSS → Plugins → Stripe Connect → Vendor Accounts and have vendors onboard again in live mode.
  • A vendor is ready to receive payouts only when their Stripe account is payouts-enabled — the plugin reflects this once Stripe sends the account.updated event.

Step 7 — Go-live verification.

  • Place one small real order on a real vendor's product with a real card (test cards are rejected in live mode).
  • Confirm the payment succeeds, the amount splits correctly (your commission vs. the vendor's share), and the payout behaves per your Payout Mode.
  • Refund that order from admin and confirm the refund and any transfer reversal complete.
  • Watch Admin → System → Log for errors, then announce go-live.
TEST MODE VS LIVE MODE
  • Keys: test uses sk_test_…, live uses sk_live_… — never interchangeable. Mixing them causes failed payments or "test/live mode" mismatch errors.
  • Webhooks: test and live endpoints are separate objects with separate whsec_… secrets — always create the endpoint in the same mode as the configured key.
  • Connect profile: a short questionnaire in test mode; a full platform profile with accepted responsibilities in live mode.
  • Vendors: test vendors use fake identities and cannot receive real payouts; live vendors need real identity and bank details.
  • Cards & money: test cards move nothing; live mode charges real cards and moves real money.
HOW WEBHOOKS WORK & TROUBLESHOOTING
  • The plugin's webhook URL is /StripeConnectWebhook/HandleWebhook. Every call is signature-verified with your Webhook Secret — unsigned or tampered requests are rejected, and a missing secret fails closed (the endpoint refuses all calls).
  • checkout.session.completed marks the order paid and triggers the vendor split; checkout.session.expired records expired sessions; account.updated syncs each vendor's charges/payouts enabled flags; charge.refunded syncs refunds made directly in the Stripe Dashboard back into nopCommerce.
  • Failed delivery in Stripe almost always means the signing secret belongs to a different endpoint or mode — re-copy the whsec_… from that exact endpoint and paste it again.
  • A vendor's status does not update after onboarding: click Refresh status on the Vendor Accounts page, then open the endpoint's Event deliveries in Stripe to check whether account.updated arrived. Stripe sorts events by scope — make sure the endpoint covers connected-account events.
  • Payment method missing at checkout: check the license is active (BSS Core → License) and the Secret Key is filled in.

Note: Disputes/chargebacks are not automated — charge.dispute.* events are not handled; manage them in the Stripe Dashboard.

EMAIL TEMPLATES
  • Open Admin → BSS → Plugins → Stripe Connect → Email Templates.
  • This page lists only this plugin's emails, so you don't have to search through nopCommerce's full template list.
  • Each row shows a friendly name, who it's sent to, the subject and whether it's active.
  • Click Edit to change the subject, body, sender, tokens, or turn it on/off. This opens nopCommerce's standard message-template editor, so you keep every feature (rich HTML body, token list, test-send).
  • Handy tokens: The standard %Store.Name% and %Vendor.Name%, plus plugin tokens %StripeConnect.Amount% and %StripeConnect.OrderId%.

Two switches per email: a notification is sent only when both its Configuration → Email notifications toggle is on and the template itself is active (in the editor). This gives you an on/off at both the feature level and the template level. 

VENDOR ONBOARDING: Connect vendors to Stripe in minutes

Each vendor connects their own Stripe Express account through Stripe's hosted onboarding, no forms to build, no sensitive data on your server.

Vendor self-service
  • A vendor logs into the admin area and opens BSS → Plugins → Stripe Connect → Vendor Connect (the node only appears for logged-in vendors).
  • Click Connect with Stripe: The vendor is taken to Stripe's secure hosted onboarding.
    • Already using Stripe? With Stripe's networked onboarding, the vendor simply signs in and reuses their already-verified business details; typically done in about a minute. Try to keep the Stripe account email and vendor account email the same.
    • New to Stripe? Stripe guides them through identity, business and bank details step by step, localized to their country.
  • The plugin automatically derives each vendor's account country from their vendor address; set the vendor's address country in nopCommerce before their first connection.
  • After onboarding, the page shows live status: Connected & ready or Onboarding incomplete with a Continue button to pick up where they left off.
  • The same page shows the vendor their own earnings: Per-currency pending and paid totals, plus their full payout history (gross, commission, net, status, date).
  • Vendors can start selling immediately, even before connecting — their earnings safely accumulate as Pending and become payable the moment onboarding completes.
Admin monitoring
  • Admin → BSS → Plugins → Stripe Connect → Vendor Accounts lists every vendor with their Stripe account id, Payouts Enabled and Onboarded status at a glance, plus a Refresh status action to re-sync any vendor from Stripe on demand. Statuses also stay current automatically via the account.updated webhook.
HOW CUSTOMERS PAY
  • At checkout, the customer selects Stripe Connect and is redirected to Stripe's hosted payment page.
  • The customer pays once for the entire order, no matter how many vendors are in the cart.
  • Card data is entered only on Stripe, your store stays fully PCI-compliant with zero card storage.
  • Payment confirmation is double-safe: Both the browser return and the signed Stripe webhook confirm the order, whichever arrives first (never double-processed).
  • On confirmation, the plugin automatically splits the order per vendor: Gross per vendor → minus your commission → net payable, recorded per order per vendor with a full audit trail.
VENDOR PAYOUTS
  • Admin → BSS → Plugins → Stripe Connect → Vendor Payouts
Make payment card
  • Pick All vendors or a specific vendor: The card instantly shows the total payable for your selection (per currency, updated live).
  • Click Pay now to transfer: Funds move from your platform's Stripe balance straight to each vendor's Stripe account.
  • Vendors below the Minimum Payout Amount, not yet connected, or not payout-enabled are safely skipped and clearly reported: "4 payout(s) transferred" / "2 payout(s) were skipped…". Skipped earnings simply remain pending — nothing is ever lost.
Payout history grid
  • Filter by vendor, status, order ID, date range (from/to), and "Only payouts needing attention" (items with a recorded problem waiting for your action).
  • Every row shows gross, commission, net, color-coded status: Pending, Paid, Failed, Reversed, Cancelled and creation date.
  • A per-row Pay now button releases a single payout on demand (deliberately ignores the minimum — the admin override).
REFUNDS - fully automated

Refund exactly like any nopCommerce order, the plugin handles the marketplace complexity for you.

  • Open the order in Admin → Sales → Orders and use the standard Refund or Partial refund buttons.
  • The customer is refunded immediately from your platform balance.
  • Each vendor's share is recovered automatically: already-paid transfers are reversed proportionally on Stripe; not-yet-paid payouts are reduced or cancelled locally.
  • Partial refunds are split proportionally across all vendors in the order and repeated partial refunds accumulate correctly.
  • Refunds issued directly in the Stripe Dashboard sync back into nopCommerce automatically via webhook — order status and vendor payouts included.
  • Every recovered amount is tracked per payout (Reversed amount) for a complete audit trail.
Two ways to refund

The plugin gives you two refund tools — both keep vendor money perfectly in sync:

  • Standard order refund: Admin → Sales → Orders → Refund / Partial refund.
    • You can refund a customer full-order amount or partial amount of his/her total order amount. In this regard, refunded amount automatically deducted from the respective vendor’s payout based on the refunded product.
  • Vendor Refunds: A dedicated page for refunding specific products from specific vendors, recovering money only from those vendors. Best for "just this one item was faulty."
Vendor Refunds — refund a single product or vendor

Open Admin → BSS → Plugins → Stripe Connect → Vendor Refunds.

  • Find the order: Type the Order ID and click Load order.
  • The order's products load grouped by vendor, each line showing its total, how much has already been refunded, and how much is still refundable.
  • Tick the product(s) to refund and set the amount — it defaults to the full remaining, and you can refund part of a line.
  • A live breakdown shows exactly what will happen before you confirm, e.g. "Customer refunded 40.00 · Recovered from Vendor B 36.00 · Platform absorbs (commission) 4.00."
  • Click Refund selected: The customer is refunded and money is recovered only from the vendor(s) whose products you refunded. Untouched vendors are never affected.
Why this matters: In a two-vendor order where only Vendor B's product is faulty, a Vendor Refund pulls the money back from Vendor B alone, Vendor A keeps their full share. Every line is capped at its own remaining amount, so a product can never be refunded twice, and the page won't let you enter more than what's left to refund.
A real-world scenario: refunding an order with two vendors
Imagine a customer bought a $100 order with products from two vendors: $60 from Vendor A and $40 from Vendor B and both vendors have already been paid their shares. Now the customer asks for a full refund. Here's exactly what happens when you click Refund:
  • The customer gets their $100 back immediately from your marketplace's Stripe balance. This always happens first, no matter what state your vendors are in. Your customer never waits.
  • Vendor A has money in their Stripe account → their share is pulled back automatically. Their payout row switches to Reversed.
  • Vendor B's Stripe account is empty (they already moved everything to their bank) → their share can't be pulled back right now. Nothing breaks: their payout row stays Paid but gets a red warning icon — hover over it to see exactly why it failed and a yellow Retry reversal button appears on that row.
  • Important: Vendor B's situation never delays the customer's refund and never affects Vendor A. Every vendor is handled independently — one vendor's empty account can't block anyone else.

So how do you get Vendor B's share back?

  • Open Vendor Payouts and filter: Status = Paid with "Only payouts needing attention" ticked. This is your to-do list of every amount still waiting to be recovered, across all orders.
  • Wait until Vendor B has money in their Stripe account again; usually this happens naturally the next time they sell something in your marketplace.
  • Click Retry reversal on the row. The plugin knows exactly how much is still outstanding and takes back only that amount. The row switches to Reversed and the warning disappears.
  • If their balance is still too low, you'll see a clear message and can simply try again later. Clicking retry is always safe, even after it has already succeeded.

One tip: Recover these amounts through the Retry reversal button, not by reversing the transfer inside the Stripe Dashboard. The plugin keeps its own records and the button keeps everything in sync automatically.

Your best protection: with Manual payout mode, vendor money stays with the marketplace until you release it — refunds that arrive before payout day are simply deducted from what's pending, and this whole scenario never comes up at all.

FEATURES AT A GLANCE
  • One customer payment, many vendors, single Stripe Checkout charge per order, split per vendor automatically.
  • Configurable platform commission - percentage or fixed, per store.
  • Instant, Automatic (pay N days after purchase) or Manual payout modes with a minimum-payout threshold.
  • Make payment card - see total payable (all vendors or one) and pay in one click.
  • Per-row payout control with full status lifecycle and error transparency.
  • Stripe-hosted vendor onboarding (Express accounts) with one-click networked onboarding for existing Stripe users.
  • Vendor self-service portal; connect, track status, and view earnings and payout history.
  • Vendor account monitoring for admins with on-demand and automatic status sync.
  • Full and partial refunds with automatic proportional transfer reversals.
  • Stripe Dashboard refund sync via signed webhooks.
  • Country-aware account creation from the vendor's nopCommerce address.
  • Multi-store support with per-store setting overrides.
  • Secure by design - signature-verified webhooks, antiforgery-protected money actions, vendor-scoped data isolation, no card or KYC data on your server.
  • Test mode support — develop and demo the full flow end-to-end with Stripe's test sandbox before going live.

Documentation Menu