Closed iftikhar0005 closed 11 years ago
What is your error message?
I had initialized stripe-connect twice once in the devise and the other one separately in a new file under config/initializer/. Removing one solved it. Thank you
@isaacsanders I am a kind of confused whether to follow the stripe connect docs: https://stripe.com/docs/connect/oauth#token-request or follow the gem docs. Will you please guide me where the post request goes? Does it go in model or in controller?
Thank you
Hi there, I am getting an error message after putting in the credentials in omniauth.rb file,
Rails.application.config.middleware.use OmniAuth::Builder do provider :stripe_connect, 'pk_test_xxxxxxxx, 'sk_test_xxxxxxxxx' end and i am also using devise for authentication, so i have pasted the following code in the devise.rb file, config.omniauth :stripe_connect, ENV['sk_test_xxxxxxx'], ENV['pk_test_xxxxxxx'], :scope => 'read_write', # or :scope => 'read_only' :stripe_landing => 'login' # or :stripe_landing => 'register'
Will you please help me crack this problem, this is my first time working with strip connect. Your help will be very much appreciated.
Thank you.