#schoeyfield - Checkout Webhooks
1 messages · Page 1 of 1 (latest)
Hello! It sounds like you might have an API key mismatch. Perhaps you're using a live key in one place and a test key in another?
Actually I was wondering this! @odd tendon My thinking was that because I'm using a Stripe Connect[ed] account, I need to pass that acct_123abc value somewhere.
Ah, yes, if you're using Connect that's probably the issue. Can you tell me more about your setup? Are you using Standard accounts or Express accounts?
I passed a stripe_account previously but got a 400, bad stripe_account param
FYI this is PHP and I'm using the Stripe PHP Sdk. Very convenient. I've used this stripe_account param in several other calls, but eventually removed it when trying to get the checkout session because it rejected the param.
You need to specify stripe_account in a separate object. See here for details: https://stripe.com/docs/connect/authentication
Specifically Received unknown parameter: stripe_account. So What I'm thinking is ... I included the stripe_account wrong lol.
Oh I think I see it.
Alright, I think it should be
[
'expand' => [
'line_items',
],
],
[
'stripe_account' => $stripeAccountId
],
);
And I was including it in the wrong object. Thanks, hopefully this was a need another pair of eyeballs problem.
Yep, that looks right.
Let me give this a spin 🙏
Yep this was it. Thanks for the extra eyes