Stripe checkout and receipts

Hello,
I’m using the Stripe plugin for my online marketplace platform. In my platform I have 2 types of users, buyers and sellers. When a buyer buys different items from different sellers it is charged as a single transaction for the buyer and then split between each sellers. Then the buyer gets a receipt in their email but the receipt shows only as if 1 item was purchased instead of listing each item with each cost independently and then the total cost of the sum. I would like to list every item independently in the receipts and checkout session but still just do 1 transaction for buyer’s convenience purposes. Is this possible?

I know this could be done when you add the products to your Stripe Catalog but since the products being sold in the marketplace are not mine I can not do that.

Thank you for your help,

1 Like
  1. Split Payments Using Stripe Connect
  • You’re already splitting payments between sellers. This suggests you’re likely using Stripe Connect with Transfers or Destination Charges. These mechanisms allow for a single transaction from the buyer and splitting funds between multiple sellers.
  1. Send Detailed Receipts
  • Since the products aren’t in your Stripe Catalog, you can generate custom receipts using metadata and other properties within Stripe’s APIs.
  • You would add line-item details (such as item name, cost, quantity, and total for each seller) in the metadata or description fields of the payment intent or charge object.
  • Alternatively, you could use a third-party service or your own system to send a receipt email after the transaction.
  1. Custom Checkout Session
  • Modify the Stripe Checkout Session to pass a detailed breakdown in the metadata that lists each item purchased. While Stripe itself won’t show this breakdown by default, the metadata can be used to generate the detailed receipts on your end.
  1. Post-Transaction Workflow
  • After the transaction, retrieve the details stored in Stripe via webhooks (e.g., on successful payment).
  • Format the breakdown in your receipt system and send a custom email to the buyer, listing:
    • Each item
    • Cost per item
    • Seller details
    • Total cost

Hello Jonathan, thank you for your reply.

Yes I’m using Stripe Connect to split payments between sellers. How can I use metadata to generate automated custom receipts? When you talk about adding line-items in the description, do you refer to bubble charge current user workflow description?

I’m confused about the 4th step, how can I achieve that?

Thank you.