Skip to content

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

Description

@oohwooh

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions