#rico_code
1 messages Ā· Page 1 of 1 (latest)
š Welcome to your new thread!
ā²ļø We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
ā±ļø We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
š This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1340995606864330812
š Have more to share? Add more details, code, screenshots, videos, etc. below.
š happy to help
I think what you're looking for is https://docs.stripe.com/connect/separate-charges-and-transfers
does it send the receipt with the infos of the provider?
you can use the on_behalf_of param to set the settlement merchant info https://docs.stripe.com/connect/separate-charges-and-transfers?platform=web&ui=stripe-hosted#settlement-merchant
A example calculation would be: 60,50⬠Payment, 0,35⬠for stripe, 0,15⬠for the platform and 60⬠for the provider
and you can see this guide https://docs.stripe.com/receipts to see how you can send the receipts
if you don't want to directly send the money to the merchant/provider (instead of holding it for a while or distribute it to multiple providers) you can use the Destination Charges w/ on_behalf_of for an easier integration and the same result
but it is possible with paymentintent and not checkout? Bacause i want to charge them when i want and not that they have to do checkout every time they buy something
yes
urd?
urd is the respective adjacent keys to yes sorry about that
oh okay
so do u know what i would have to add to my code, so it works?
just on_behalf_of?
I just sent you the url above that explains how to implement this
sometimes i added somethin to paymentintent which doesnt work with other attributes i added
okay thank u
i will try to implement that or otherwise i will open another channel
no need to open another thread, unless this was closed
you can come back with your follow-up questions