💳
Stripe Connect - Marketplace
  • Introduction
    • 👋Welcome
    • Key use cases
    • Key features
  • Getting Started
    • Activating Stripe Connect
    • Adding your icon and branding
    • Installing the plugin
    • Configuring API keys
  • Implementing Key Features
    • Onboarding merchants
    • Checkout Sessions & Payment Forms
    • Splitting one-off payments
      • Autofill customer details
    • Saving down details of a transaction
      • Expiring Checkout Sessions
    • Processing Refunds
      • Insufficient Merchant Account Balance
    • Give merchants access to Stripe Express dashboard
      • Set custom descriptions for charges
      • Allow merchants to set their own payout schedule
    • Splitting subscription payments
      • Allow customers to cancel subscriptions via the Stripe Billing Portal
      • Updating Subscriptions
      • Viewing and downloading invoices for subscription payments
    • Embedding Payment Forms in your app
    • Invoices
      • Creating invoices
      • 'On behalf of' parameter
    • Promotion Codes (Discounts)
    • Integrating Stripe Tax
      • Tax for marketplaces
      • Using a Stripe Webhook to transfer tax to the platform account
  • Common Payment Flows
    • Overview
    • Delayed Payments (escrow-like)
      • Retrieving information on a transfer
      • Canceling an Authorized Payment
    • Shopping Cart Payments with Multiple Sellers
    • Charge a customer using saved payment details
  • Deploying to live
    • Checklist
  • Useful Tips
    • Debugging errors
    • Support
Powered by GitBook
On this page
  • Video tutorial
  • Steps involved in splitting a one-off payment
  • Demo app
  1. Implementing Key Features

Splitting one-off payments

PreviousCheckout Sessions & Payment FormsNextAutofill customer details

Last updated 2 months ago

The Stripe Connect - Marketplace enables you to split payments between your platform and merchants who are selling goods/services on your platform. For example, if you're running an eCommerce marketplace like Etsy, the plugin allows your marketplace to take a % of each sale made by sellers on the marketplace.

Video tutorial

The below video tutorial demonstrates how to split a one-off payment:

Steps involved in splitting a one-off payment

There are 5 workflow actions involved splitting a one-off payment: 1. Create a new data type called "Transaction" - this is a data type created to record details of each transaction.

2. Create a checkout session using the "Stripe Connect - Create Checkout Session" workflow. When inputting the "Success URL" and "Return URL" fields, include a page URL parameter that contains the transaction's unique ID. 3. Save the "Checkout Session ID" of the transaction to your transaction. 4. Navigate to the Stripe Checkout Session URL created in step 1 5. (OPTIONAL) Create a workflow that runs on page load ONLY when the transaction page URL parameter you created in step 1 is NOT empty. I typically use this workflow and the "Stripe Connect - Retrieve Checkout Session Details" API call to update the various fields associated with the "transaction".

Demo app

You can view an example of the database setup and workflow actions in the demo app at the below link (relevant section is the 'Creating Stripe checkout sessions (one-off payments)' section):

The editor is public and can be accessed by clicking the 'View Editor' button at the top of the page.

You can of course use another custom data type to record details. See the '' section of the documentation for full instructions on how to record details of a transaction and the of the Checkout Session page for an overview of setting up your database.

Saving down details of a transaction
Bubble - Visual ProgrammingBubble
database setup
Logo