#lucaswork_error

1 messages ¡ Page 1 of 1 (latest)

languid pawnBOT
#

👋 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.

red oysterBOT
lime mist
ionic kiln
#

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?

lime mist
ionic kiln
#

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"];
lime mist
#

Looking...

ionic kiln
#

no log found in test and live mode

lime mist
#

Okay, so you're logged in to the wrong account then.

ionic kiln
#

hmm alright good to know

lime mist
#

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.

ionic kiln
#

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

lime mist
#

This should work in test mode if you have these settings set up in test mode.

ionic kiln
#

okay thank you for the help! I'll try and track down where I am setting the wrong keys/credentials