#allianceRes

1 messages · Page 1 of 1 (latest)

twilit crystalBOT
analog dawn
#

Can you provide a sample payment intent where this is happening so I can see what your flow currently looks like?

hushed juniper
#

Here is a pi:
pi_3Nag0tGfA2lQACd11jFcOQB7

#

but in our case we want to show information of our partner 'the provider of the service)

analog dawn
#

How do you send a percentage to the partner? That payment intent was just created directly on the platform account

#

No transfer_data was set

hushed juniper
#

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

analog dawn
#

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

hushed juniper
#

thank you for the information, I don't know everything but sometimes we sell several products belonging to different companies in the same basket

analog dawn
#

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

hushed juniper
#

Ok!
what about receipt, can you help me? because its our priority now

analog dawn
#

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.

hushed juniper
#

Can I add on_behalf_of without changing the funds transfer algorithm?

analog dawn
#

Yeah

#

But, again, you'll need multiple payment intents if you want each part of the charge to settle with different accounts

hushed juniper
#

I mean I don't want to change anything at the moment, so will adding on_behalf_of affect the payment process?

analog dawn
#

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

twilit crystalBOT
hushed juniper
#

the link is about invoices, but im talking about paymentIntent and receipt_email

analog dawn
#

^ isn't specific to invoices

#

it talks about everything that changes when you set on_behalf_of

hushed juniper
#

ok thank you. I will give it a try