#jacob_webhook-types

1 messages ยท Page 1 of 1 (latest)

silk lightBOT
#

๐Ÿ‘‹ 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/1230184089399857192

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

spiral vortexBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

rotund sparrow
#

Hello! Based on what I see on your account it looks like you've accidentally created your webhooks as connect webhooks, when you should really be creating them as account type webhooks

faint wolf
#

Right, so in my case I'm accepting funds and then paying out to a connect account after the platform fee is deducted. Should this just be an account type instead?

#

Seems strange it would work on a test environment and then when imported from test they aren't configured the same?

rotund sparrow
#

Right, so in my case I'm accepting funds and then paying out to a connect account after the platform fee is deducted. Should this just be an account type instead?

Can you be more specific? Are you intending to create the payments on the connected accounts (direct charges) using the Stripe-Account header), or do you want to create payments on the platform and then transfers some amount to the connected account (destination)

faint wolf
#

Accept a payment on the platform, take a small platform fee and transfer the net amount to the connected account like this.

rotund sparrow
#

Gotcha, then yeah you need account webhooks (since the payments/invoices/subscriptions are being created on the platform)

faint wolf
#

Interesting. Confusing as my test webhook is of type 'connect' haha

#

And works perfectly

rotund sparrow
#

Yeah that's weird - do you have a test payment ID I can take a closer look at just to compare?

faint wolf
#

Yep one sec.

#

Ah hold up, might have accidently confused for the stripe cli listener

rotund sparrow
#

Ah, that makes more sense - if you were using the CLI then it listens for both accuont and connect type webhook events by default

silk lightBOT
#

jacob_webhook-types

faint wolf
#

Thanks for your help!

#

Hey one last question

#

I just cancelled a subscription. The initial webhooks for the payment coming in were all successful. Are there specific webhooks that are only valid for the Connect type webooks? Eg. subscription cancellation?

#

Better question: I have two production webhooks with the exact same configuration. I cancelled a subscription on the Stripe Interface and the event was only sent to one of the webhooks. Why would this be?

rotund sparrow
#

The only webhooks that would only be valid for connect type webhooks would be things related to connected accounts (like account.* events and things related to capabilities)

#

Do you have the Subscirption ID that you cancelled?

faint wolf
#

sub_1P6b62E0h8bW17U63ZCPtMWd

#

Ah nevermind! It just came through

#

Strange, not sure what caused the delay

rotund sparrow
#

Yeah I was just about to say I see it was sent ๐Ÿ™‚

faint wolf
#

Haha thanks anyway