#linqisnice_best-practices
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/1222572168395886642
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- linqisnice_best-practices, 40 minutes ago, 13 messages
- linqisnice_docs, 6 hours ago, 21 messages
- linqisnice_docs, 1 day ago, 64 messages
- linqisnice_best-practices, 1 day ago, 9 messages
- linqisnice_docs, 1 day ago, 7 messages
- linqisnice_best-practices, 2 days ago, 15 messages
and 4 more
Hello! What's your question?
Not sure how this is supposed to work. Since the event originates from us, the platform's account, how do I link that to a user in my system for whom the charge was on behalf of?
Can you provide more context? Which Event? Can you provide an example Event ID I can take a look at?
Before I changed to using on_behalf_of, I simply used requestoptions to set the connected users stripe account, and then I created a webhook of type Connected Account, and any checkout session events completed would hit the webhook and there I could just link the session.AccountId to the account id of a connected partner in my db, that way I could create a payment record and mark an order as paid
but now, with on_behalf_of, the account associated with the event is ours, the platform
do I need to use metadata here or is there some other way?'
Ah, okay, so you switched from direct charges to destination charges and now you're wondering how to link checkout.session.completed Events to the destination connected account?
yeah!
What mode are you using for the Checkout Sessions?
I realized the question might actually be a bit stupid since I could jsut use the charge id
Yeah, using the Charge will work.