mix tiger_stripe.install (tiger_stripe v0.1.10)

Copy Markdown View Source

Installs and configures tiger_stripe in a Phoenix application.

$ mix tiger_stripe.install

This installer:

  1. Adds Stripe API key config to config/dev.exs
  2. Adds runtime config with env vars to config/runtime.exs
  3. Adds Stripe.WebhookPlug to the Phoenix endpoint (before Plug.Parsers)
  4. Scaffolds a StripeWebhookController with event handler skeleton
  5. Adds the webhook route to the router