determine live_mode for stripe based on setting as well as environment