Stripe Connect技术问题:如何让收据显示关联账户名称
Hey there, let's work through this Stripe Connect receipt issue—super frustrating when your customers see your platform name ("New Startup ABC") instead of the actual vendor ("Vendor 123") on their receipts! Here's how to resolve this step by step:
1. Verify Your Vendor's Connect Account Details
First, make sure your vendor's Stripe Connect account has all their business information properly filled out in their dashboard. Stripe pulls the receipt display name, address, and other details directly from the vendor's account profile. If they haven't completed their business profile (like their public display name), Stripe will fall back to your platform's information.
- Ask Vendor 123 to log into their Connect dashboard and navigate to Settings > Business settings
- Ensure they've entered their Public business name (this is what shows on receipts) and other required business details
2. Switch to the Payment Intents API (Instead of Charge API)
The Charge API you're using is the older legacy API, and for Connect scenarios, Stripe recommends using the Payment Intents API which handles modern payment flows (like 3D Secure) and has better support for Connect receipt customization. Here's how to adjust your code:
// Create a Payment Intent instead of a Charge $paymentIntent = \Stripe\PaymentIntent::create([ 'amount' => $chargingTodayStripe, 'currency' => 'cad', 'customer' => $customerStripeID, 'description' => 'O-' . $orderID, // Use transfer_data instead of destination for Connect 'transfer_data' => [ 'destination' => $locationConnectID, ], ]); // Retrieve the receipt URL from the associated Charge $receiptURL = $paymentIntent->charges->data[0]->receipt_url;
This ensures the payment is properly linked to the vendor's Connect account, which tells Stripe to use their details on the receipt.
3. Configure Connect Receipt Settings in Your Platform Dashboard
Double-check your platform's Stripe settings to ensure you're allowing vendors to control their own receipts:
- Log into your platform's Stripe dashboard
- Go to Connect > Settings > Branding
- Enable the option for "Allow connected accounts to customize their receipts" (if available)
- This lets vendors set their own logo, receipt messages, and display names that will appear to their customers
4. Follow Up with Stripe Support (The Right Way)
It's odd that the support rep didn't recognize the receipt_url parameter—it's a valid property of the Charge object. Next time you reach out, frame the issue specifically as:
"We're using Stripe Connect for direct transfers to vendors, and when we retrieve the
receipt_urlfrom the Charge/Payment Intent, the receipt shows our platform name instead of the vendor's. We need help ensuring the receipt pulls the vendor's public business name from their Connect account."
Ask to be routed to the Connect specialized support team—they'll be more familiar with this scenario.
Quick Test Tip
Create a test transaction in Stripe's test mode first. After processing, check the Charge object via the Stripe dashboard to confirm:
- The
destinationfield is set to Vendor 123's Connect account ID - The vendor's public business name is correctly populated in their Connect profile
Then view the receipt URL to confirm the vendor's name is showing up.
内容的提问来源于stack exchange,提问作者Adam G

