#ahmedmohamed24
1 messages · Page 1 of 1 (latest)
I see! and what problem are you facing?
when I try to retrieve the session information using the session_id
I get a not found session
because this session belongs to the connected user
it there any way to retrieve this session information
for example this session ID
cs_test_a1A82Q2m6nd2nNLEuirvLnU9B3iza6J0FPchRClbXaXGJq6xtVnYgVKTPo
yes, you make the GET request using the Stripe-Account header : https://stripe.com/docs/connect/authentication#stripe-account-header
$session = $this->stripe->checkout->sessions->retrieve($sessionId, ['expand' => ['invoice.charge.balance_transaction']]);
I'm using this code snippet to retrieve the session
This example in PHP
in the provided docs, I don't know what you mean
$session = $this->stripe->checkout->sessions->retrieve($sessionId, ['expand' => ['invoice.charge.balance_transaction']], ['stripe_account' => 'acct_xxxx']);