#Dufji-stripe_account
1 messages ยท Page 1 of 1 (latest)
Hi ๐ do you have the relevant IDs from where you saw this happen? Such as request ID (req_xxx) or the ID of a checkout session (cs_live_xxx)?
Hey @frigid flax, I am checking a bit more details quickly myself to make sure its not my fault (which it probably is anyway)
Ok I see the stripe_account is not part of the original request..
it is passed as an option, maybe it needs to be part of params?
Hm, at first glance that seems to be the correct place for it:
https://stripe.com/docs/api/connected_accounts?lang=php
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
The stripe account is not a "express" account, it is a real account owned by my clients
Hm, and their account is connected to your Platform?
I just tested this all from my local environment and this works just fine. It shows the correct account on the payment page.
Here is the id of the session that went wrong: cs_live_a1YJ6BBFwztoULm3BwT0hkW22yE7OHkT4N13DZK49GVjMJ51iBMIxkMYnE
I'm looking at the request that created that session, and I'm not seeing any indication that a stripe_account value was provided for it. Is the code that you're running locally the same as what you have deployed for your live integration?
yes
I dont know if you can check if my api key did in fact make correct transactions?
There should be more users/more transactions
I will redeploy it just to be sure, because locally using the users account it also works fine.
I don't think I can do that without knowing which of your Connected Accounts to look at the logs for. The other possibility that comes to mind, is that maybe $stripeId is null, and the library is dropping the parameter from the request.
Yea that is also my guess, but still a bit strange. Maybe it had some cached value somewhere. Anyway, I have added an additional check. Hope it will not occur again.
Could it be that at that time the account was not yet approved by stripe?
I'm not entirely certain, but I wouldn't think so. I would expect it to through an error if the account exists but wasn't in a state to take payments.