stripe / stripe-apps

Stripe Apps lets you embed custom user experiences directly in the Stripe Dashboard and orchestrate the Stripe API.
https://stripe.com/docs/stripe-apps
MIT License
148 stars 73 forks source link

Not receiving Stripe Connect events #810

Open benfoster opened 1 year ago

benfoster commented 1 year ago

Describe the bug

According to the permissions doc providing we have defined the appropriate permissions, we should receive connected account webhook events related to account creation:

image

To Reproduce

  1. Set up a different Stripe account (Test Platform) from the account publishing your app and configure connect
  2. Set up a webhook receiver for connected accounts in the publisher account for the above events
  3. Onboard express accounts to Test Platform
  4. Observe that no webhooks are received to the Publishing account webhook endpoint

Expected behavior My expectation is that if the Stripe account installing our app is using Stripe connect that we should receive events such as account.external_account.created.

Additional context

https://stripe.com/docs/stripe-apps/reference/permissions

norx85 commented 1 year ago

Same problem for me, but i solved this issue by recreating the connect webhook. In my case the problem occured after upgrading the api version from 2020-08-27 to 2022-11-15. After the upgrade, the older connect webhook started to listen to normal webhook events, even if signed as connect in the dashboard.

benfoster commented 1 year ago

@norx85 can you confirm that you receive connect webhooks for your platform's connected accounts (as per my example scenario)?

norx85 commented 1 year ago

@norx85 can you confirm that you receive connect webhooks for your platform's connected accounts (as per my example scenario)?

In my platform the only connected events i am listening are:

account.application.deauthorized account.external_account.updated account.updated invoice.paid payment_intent.succeeded payout.failed

So my scenario is a little different, but i posted here because these problems seems to be connected to me

chaves-stripe commented 1 year ago

@benfoster do you mind sharing your account id and your app id so I can dig into this?

You will also need the events_read permission to receive these events so adding that permission if you haven't already may resolve this issue for you!