#altairsama69
1 messages · Page 1 of 1 (latest)
does sgtripe explicitly send the info somewhere? we are testing our integrations and aside from manually knowing that the event is a test one, we can't really see it
Hi! Let me help you with this.
thanks!
Are you sending Live and Test events to the same app?
yeah, to the same end point
for testing
ideally we want to do that to make sure that it works in our environment
You can register a separate endpoint for test events.
e.g. /stripe-webhook and /stripe-webhook/test
got it thanks, so no way to tell it from the payload of the event itself?
we need to make sure that test events have a separate entry point?
Actually you can check the livemode parameter on the event: https://stripe.com/docs/api/events/object#event_object-livemode
I'll check that out thanks!
Happy to help!
But, I would still recommend keeping the Live and Test apps separate.
yeah, these are just to make sure that out integration is fine, we will turn off test events after checks have passed