mix pin_stripe.update_supported_events (PinStripe v0.4.0)
View SourceUpdates the list of supported Stripe webhook events.
This task is for library contributors to update the list of valid Stripe events that can be used with the webhook handler generators.
Usage
mix pin_stripe.update_supported_eventsThis task will:
- Run
stripe trigger --helpto get the list of supported events - Parse the output to extract event names
- Write the events to priv/supported_stripe_events.txt
Requirements
You must have the Stripe CLI installed and available in your PATH. Install it from: https://stripe.com/docs/stripe-cli