Added checks for Stripe mode