Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference Errror: SpreeBrainTreeVZero is not defined #83

Open
jrojas28 opened this issue Aug 24, 2016 · 3 comments
Open

Reference Errror: SpreeBrainTreeVZero is not defined #83

jrojas28 opened this issue Aug 24, 2016 · 3 comments

Comments

@jrojas28
Copy link

Hello, I recently added this extension to my Spree application, currently in develipment. After setting up PayPal Express Payment (Adding Merchant ID, Private and Public Keys) I get to see the PayPal button on cart, but I cannot press it.

After inspecting the element, it seems that a class used by it (SpreeBrainTreeVZero) isn't defined anywhere. Does anyone know any possible cause? or is this a bug?

PD: Currently using branch 3-1-stable of spree_braintree_vzero and Spree 3.1.0

@Mafi88
Copy link
Contributor

Mafi88 commented Aug 24, 2016

It seems that javascripts were not copied correctly. Did you run installer?

bundle exec rails g spree_braintree_vzero:install

@jrojas28
Copy link
Author

indeed, ran it twice by now

@Mafi88
Copy link
Contributor

Mafi88 commented Apr 6, 2017

Hmm, I know it's probably too old now, but it shouldn't require SpreeBrainTreeVZero, only SpreeBraintreeVzero. Have you modified view file?

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

No branches or pull requests

2 participants