code_corps v0.0.1 CodeCorps.StripeService.WebhookProcessing.EnvironmentFilter View Source
Used to filter events based on environment
Link to this section Summary
Functions
Returns true if the livemode attribute of the event matches the current environment of the Phoenix application
Link to this section Functions
Returns true if the livemode attribute of the event matches the current environment of the Phoenix application.
- livemode events are processed only in production.
- non-livemode events are processed in all other environments