Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 934 Bytes

README.rdoc

File metadata and controls

22 lines (12 loc) · 934 Bytes

Stripe Connect & Devise Rails Example

This is an an example app using Stripe Connect and Devise.

Steps

  1. Create an app in Stripe’s account: manage.stripe.com/account/applications

  2. Add your keys to your ‘config/initializers/devise.rb` file

Make sure to go to Stripe’s Account Settings > Applications and set your Redirect URL to: localhost:3003/users/auth/stripe_connect/callback

The Webhook URL will be something similar: www.yourdomain.com/users/auth/stripe_connect/callback

Then you can go to this url to test it: /auth/stripe_connect

If you go to that url with any query params, they will be passed along to Stripe. Read [Stripe’s OAuth Reference] (stripe.com/docs/connect/reference) for more information.

Notes

I haven’t had time yet to write the unit tests but will get to it.

More info on the stripe-connect gem here: github.com/isaacsanders/omniauth-stripe-connect