Closed xdmx closed 12 years ago
Sorry. Forgot to update the README.
It requires only a client id.
Stripe Platform also needs to be enabled.
Contact support@stripe.com of you have questions about Stripe Platform.
Check out the Stripe Platform docs to see more.
On Jun 26, 2012, at 7:45 AM, xdmxreply@reply.github.com wrote:
How do you config this gem? I've tried with
Rails.application.config.middleware.use OmniAuth::Builder do provider :stripe_platform, 'my-stripe-platform-client-id', 'my-stripe-test-secret-key' end
And when I start the server I receive /home/user/.rvm/gems/ruby-1.9.3-p125/gems/omniauth-1.1.0/lib/omniauth/strategy.rb:136:in `initialize': Received wrong number of arguments. "my-stripe-test-secret-key"
Trying with: provider :stripe_platform, 'my-stripe-platform-client-id'
the error is: Not found. Authentication passthru.
I also see from the Stripe docs that it's required a custom params header to authenticate and to use the oauth lib from github instead the gem. How did you make this works?
Reply to this email directly or view it on GitHub: https://github.com/isaacsanders/omniauth-stripe-platform/issues/1
Yeah, I've tried with
Rails.application.config.middleware.use OmniAuth::Builder do provider :stripe_platform, 'my-stripe-platform-client-id' end
and also the devise+omniauth integration: config.omniauth :stripe_platform, 'my-stripe-platform-client-id'
but when I go to /auth/stripe_platform it says "Not found. Authentication passthru."
My guess is that that error is from Stripe itself telling that the Authentication header is missing (last part of https://stripe.com/docs/tutorials/platform )
f37993311c001a17a5bca1e7c65281d2c0516586 should solve this.
This is very alpha right now, and I want to thank you for trying this.
I will release a new version in the next few minutes.
How do you config this gem? I've tried with
Rails.application.config.middleware.use OmniAuth::Builder do provider :stripe_platform, 'my-stripe-platform-client-id', 'my-stripe-test-secret-key' end
And when I start the server I receive /home/user/.rvm/gems/ruby-1.9.3-p125/gems/omniauth-1.1.0/lib/omniauth/strategy.rb:136:in `initialize': Received wrong number of arguments. "my-stripe-test-secret-key"
Trying with: provider :stripe_platform, 'my-stripe-platform-client-id'
the error is: Not found. Authentication passthru.
I also see from the Stripe docs that it's required a custom params header to authenticate and to use the oauth lib from github instead the gem. How did you make this works?