#lucaswork_error
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/1227315298139639870
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello! Can you give me the request ID showing that error? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
hmm the request doesn't show in the developer logs section on test or live mode. I looked with no filters and with failed filters but its not there. Does this suggest I am targeting wrong account or something?
Possibly, yeah. Try switching to your other accounts and look there. Alternatively, make the request again and log the request ID using code: https://docs.stripe.com/api/request_ids
this is the create request id "req_XfHVwzMV3nGcUw" - the create link is throwing the exception before I can grab the request id at $b
$stripe_account = \Stripe\Account::create($account_params);
$a = $stripe_account->getLastResponse()->headers["Request-Id"];
// Get the link to the account
$link = \Stripe\AccountLink::create(array(
'account' => $stripe_account->id,
'refresh_url' => dynamic('api/core/stripe_v2/oauth', array(
'account_name' => $this->thrive->getAccountName(),
'meta_http_redirect' => 'url',
)),
'return_url' => dynamic('api/core/stripe_v2/oauth_return', array(
'account_name' => $account_name,
'stripe_account' => $stripe_account->id,
)),
'type' => 'account_onboarding',
));
$b = $link->getLastResponse()->headers["Request-Id"];
Looking...
What happens if you try to open this? https://dashboard.stripe.com/test/logs/req_KCTbPSNYOIG6hR
no log found in test and live mode
Okay, so you're logged in to the wrong account then.
hmm alright good to know
This is a public server and I have no way to verify your identity, so I can't tell you which account this request belongs to, but I can tell you it's not the one you're looking at now.
this is grayed out in live mode - would that have an effect here? Also, does connect work in test and live mode or just live? I am asking because our current integration connects via live creds
This should work in test mode if you have these settings set up in test mode.
okay thank you for the help! I'll try and track down where I am setting the wrong keys/credentials