#allianceRes
1 messages · Page 1 of 1 (latest)
Can you provide a sample payment intent where this is happening so I can see what your flow currently looks like?
Here is a pi:
pi_3Nag0tGfA2lQACd11jFcOQB7
In the receipt we see inforamtion of our company:
https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xOW9DUkNHZkEybFFBQ2QxKIXUqaYGMgZ6JwZ755s6LBalLEjLuTRVWrw2HFuELq1_Y7i8jeL7Mk1yCqHL4CdyU1MO-Bcop5YTrYcc
but in our case we want to show information of our partner 'the provider of the service)
How do you send a percentage to the partner? That payment intent was just created directly on the platform account
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
No transfer_data was set
We use \Stripe\Transfer::create after that to send comission to our partner
but this is not the issue.
our issue is how to edit the receipt
I know
I'm just trying to understand what you're doing so I can provide a recommendation
You'd need to set the connect account as the settlement merchant
thank you for the information, I don't know everything but sometimes we sell several products belonging to different companies in the same basket
I see. In that case if you want each part of the basket to be settled with their corresponding merchant, you'd need to create separate paymetn intents
Ok!
what about receipt, can you help me? because its our priority now
Yeah if you change the settlement merchant that should also effect what's shown on the receipt
Setting the on_behalf_of parameter applies the branding and contact information of the connected account to the invoice email, invoice PDF, Hosted invoice page, and invoice receipt.
Can I add on_behalf_of without changing the funds transfer algorithm?
Yeah
But, again, you'll need multiple payment intents if you want each part of the charge to settle with different accounts
I mean I don't want to change anything at the moment, so will adding on_behalf_of affect the payment process?
Yeah it changes the settlement merchant
Whichever account id you pass in on_behalf_of is whose info will show on the receipt
Recommend reading the links I provided
the link is about invoices, but im talking about paymentIntent and receipt_email
^ isn't specific to invoices
it talks about everything that changes when you set on_behalf_of
ok thank you. I will give it a try