-
Notifications
You must be signed in to change notification settings - Fork 54
Stripe Dev Setup
lilliealbert edited this page Oct 25, 2014
·
1 revision
Arooo integrates with Stripe for dues payment processing. 💸 💸 💸
The app uses the Stripe Checkout widget for member dues setup and management (i.e., updating dues amount), and webhooks for the membership coordinator dues overview page.
Stripe has many fake credit card number patterns that are helpful during development. Their API docs are also pretty great.
If you're working on dues, you'll probably need to do some of these set up things.
- Sign up for a Stripe account
- Find your keys under Account Settings --> API Keys
- Add the Test Secret Key and Test Publishable Key to
config/application.yml
. It'll look something like:
STRIPE_PUBLISHABLE_KEY: pk_test_whargarblefdjskla
STRIPE_SECRET_KEY: sk_test_whargarblefdjskla
- You should be able to add new dues and see them on the test console now!
Set up a test webhook (if you're doing anything with webhooks):
- Use Ngrok (or something similar) to set up a tunnel to your localhost from Stripe
- Add the ngrok URL as a webhook under Account Settings --> Webhooks