#Dufji-stripe_account

1 messages ยท Page 1 of 1 (latest)

frigid flax
#

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)?

fleet cradle
#

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?

frigid flax
fleet cradle
#

The stripe account is not a "express" account, it is a real account owned by my clients

frigid flax
#

Hm, and their account is connected to your Platform?

fleet cradle
#

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

frigid flax
#

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?

fleet cradle
#

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.

frigid flax
#

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.

fleet cradle
#

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?

frigid flax
#

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.