#schoeyfield - Checkout Webhooks

1 messages · Page 1 of 1 (latest)

odd tendon
#

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?

spring moss
#

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.

odd tendon
#

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?

spring moss
#

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.

odd tendon
spring moss
#

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.

odd tendon
#

Yep, that looks right.

spring moss
#

Let me give this a spin 🙏

spring moss
#

Yep this was it. Thanks for the extra eyes