A sample app based on slack-ruby-bot-server-sample that integrates with Stripe using slack-ruby-bot-server-stripe.
Create .env
file with the following settings.
SLACK_CLIENT_ID=...
SLACK_CLIENT_SECRET=...
SLACK_VERIFICATION_TOKEN=...
SLACK_OAUTH_SCOPE=bot,commands
STRIPE_API_KEY=...
STRIPE_API_PUBLISHABLE_KEY=...
STRIPE_SUBSCRIPTION_PLAN_ID=...
Run bundle install
and foreman start
.
Copyright Daniel Doubrovkine, 2020