Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable stripe when running locally and a stripe api key is not provided #41

Open
oohwooh opened this issue Feb 5, 2024 · 0 comments
Open

Comments

@oohwooh
Copy link
Member

oohwooh commented Feb 5, 2024

Right now, when running in development, and a STRIPE_PUBLISHABLE_KEY env is not provided, the site throws a (dismissable) error. To make developing www-event more accessible, we should suppress this error (perhaps by replacing the stripe PaymentProvider with some form of placeholder? This should log a warning in development, and throw a fatal error in production.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant