Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.

Can't use stripe as payment method #30

Open
AndreiMotinga opened this issue Jun 27, 2016 · 3 comments · Fixed by #49
Open

Can't use stripe as payment method #30

AndreiMotinga opened this issue Jun 27, 2016 · 3 comments · Fixed by #49

Comments

@AndreiMotinga
Copy link

AndreiMotinga commented Jun 27, 2016

I've added gateway, ran migrations, set it up from admin panel, added stripe keys.
When I try to pay for a product I get

Missing partial spree/checkout/payment/_stripe with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :slim, :rabl], :versions=>[:v10, :v9, :v8, :v7, :v6, :v5, :v4, :v3, :v2, :v1]}. Searched in:
  * "/Users/andrei/dev/ezworks/danieldiamondsny/app/views"
  * "/Users/andrei/.rvm/gems/ruby-2.3.0/gems/solidus_auth_devise-1.4.0/lib/views/backend"
  * "/Users/andrei/.rvm/gems/ruby-2.3.0/gems/solidus_auth_devise-1.4.0/lib/views/frontend"
  * "/Users/andrei/.rvm/gems/ruby-2.3.0/gems/devise-3.5.10/app/views"
  * "/Users/andrei/.rvm/gems/ruby-2.3.0/gems/solidus_frontend-1.2.2/app/views"
  * "/Users/andrei/.rvm/gems/ruby-2.3.0/gems/solidus_backend-1.2.2/app/views"
  * "/Users/andrei/.rvm/gems/ruby-2.3.0/gems/solidus_api-1.2.2/app/views"
  * "/Users/andrei/.rvm/gems/ruby-2.3.0/gems/solidus_core-1.2.2/app/views"
  * "/Users/andrei/.rvm/gems/ruby-2.3.0/gems/kaminari-0.17.0/app/views"

Gems

    solidus (1.2.2)
      solidus_api (= 1.2.2)
      solidus_backend (= 1.2.2)
      solidus_core (= 1.2.2)
      solidus_frontend (= 1.2.2)
      solidus_sample (= 1.2.2)
    solidus_api (1.2.2)
      rabl (>= 0.9.4.pre1, < 0.12.0)
      solidus_core (= 1.2.2)
      versioncake (~> 2.3.1)
    solidus_auth_devise (1.4.0)
      deface (~> 1.0.0)
      devise (~> 3.5.1)
      devise-encryptable (= 0.1.2)
      json
      multi_json
      solidus_core (>= 1.0.6, < 2)
    solidus_backend (1.2.2)

...

    solidus_frontend (1.2.2)
      canonical-rails (~> 0.0.4)
      jquery-rails
      solidus_api (= 1.2.2)
      solidus_core (= 1.2.2)
    solidus_gateway (1.0.1)
      solidus_core (~> 1.1)
    solidus_sample (1.2.2)
      solidus_core (= 1.2.2)

I see that template exists at https://github.com/solidusio/solidus_gateway/blob/master/lib/views/frontend/spree/checkout/payment/_stripe.html.erb, but my app doesn't look for it there. what are the reasons? how would I fix it?

@brchristian
Copy link
Contributor

Having this issue as well.

@tvdeyen
Copy link
Member

tvdeyen commented Oct 5, 2017

Re-open after Github just closed this from merging an unrelated PR

@tvdeyen
Copy link
Member

tvdeyen commented Oct 5, 2017

@brchristian @AndreiMotinga could you please try to update and try to reproduce again? This gem provides the partial and in engine.rb we add this partials to Rails' view_paths if solidus_frontend is available. Can't see why this should not work for you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants