mix tiger_stripe.install (tiger_stripe v0.3.0)

Copy Markdown View Source

Installs and configures tiger_stripe in a Phoenix application.

$ mix tiger_stripe.install

This installer:

  1. Adds a small Stripe wrapper module that reads env vars
  2. Adds the default Stripe.Finch pool to your supervision tree
  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