#battbot-webhook-events-test
1 messages ยท Page 1 of 1 (latest)
The account on which the webhook endpoint is registered
You'll find it here
https://dashboard.stripe.com/settings/user
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
acct_18CvSuJ93KfFVesb
evt_3LNeiVR8yvvpRtdg1AkoOzLD this is an example of the the event
the webhook urls are "connect" type
I believe this is expected with connect webhooks
For Connect webhooks, itโs important to note that while only test webhooks will be sent to your development webhook URLs, both live and test webhooks will be sent to your production webhook URLs. This is due to the fact that you can perform both live and test transactions under a production application. For this reason, we recommend you check the livemode value when receiving an event webhook to know what action, if any, should be taken.
https://stripe.com/docs/connect/webhooks#:~:text=For Connect webhooks,should be taken.
yes, we filter it out on our production server
but the thing is, the event isn't sent for the test environment
so our test cases are failing on our test environment
๐ stepping in here as hanzo needs to step away.
ok
For Connect endpoints your livemode endpoint will receive both livemode and testmode events as mentioned above. Testmode endpoints will only receive testmode events.
You are stating that your testmode endpoint isn't receiving these events?
yes
is it because the connect account was a live mode account rather than a test mode account?
acct_1IIgBhR8yvvpRtdg is the connect account the payment was for
Taking a look at the above event
One sec
So yes
The reasoning here is that the Connected Account is connected in live mode
So both livemode and testmode events will be sent to the livemode endpoint
The events would only be sent to the testmode endpoint if the account is connected in testmode.
how do we enable a connect account for test mode?