#pseudo-connect-webhook
1 messages · Page 1 of 1 (latest)
@last knot that's expected behaviour, see https://stripe.com/docs/connect/webhooks where we say
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.
pseudo-connect-webhook
Aha I had forgotten that, appreciate the response. Is there a recommended/existing way to indicate which webhook should be used?
no
What we have been doing so far is replicating the customer account in test-mode and then using that, but I'm guessing thats not the "best-practice"?
A Test Event will always be sent to the Live mode webhook endpoint
Not sure what you call "the customer account". In our product vocabulary a Customer represents someone paying for a service, an Account, represents an entity selling something and receiving funds
My apologies, to clarify: In order to do our initial testing/verification we replicate the Connect Account in test-mode and have a webhook to use for those accounts.
I'm assuming that's not the recommended best-practice though?