solidus_paypal_braintree gem: Configure payment ty...
# support
a
solidus_paypal_braintree gem: Configure payment types
If your site uses an unmodified solidus_frontend, it should now be ready to take payments.
this doesn't work now out of the box, right? because I have multiple files missing errors, like partials, scripts
k
For what is worth, currently specs are green, so those issues are not detected by our test suite. That doesn’t mean it works in the real world with your current version of Rails and Solidus. Is this the problem you are facing? https://github.com/solidusio/solidus_paypal_braintree/issues/335
a
soldius braintree gem installer adds this line after installation I guess:
//= require spree/frontend/solidus_paypal_braintree
and after that JS doesn't work, like checkbox with 'use billing address' and remove item from the cart button.
after I remove this line and refresh the page - all works and there no errors in console
k
Got it, but I’m afraid the braintree JS won’t work at that point
a
but if you ask about those missing files - no, I'm talking about payment partials after installing and configuring braintree gem
k
the thing is that currently that extension is only compatible out of the box with the legacy frontend (solidus_frontend). I think it’s doable to make it work with some change, though.
a
ah, I see..
k
BTW, we are in the process of revamping the extension to make it compatible soon
👍 1
a
I tried to use these old partials files from readme, but no luck so far, maybe I can figure it out (maybe not)
k
when did you install the starter_frontend? because the latest version doesn’t have the
spree
namespace anymore
a
yesterday
I know, there is no such namespace in installation, but code still have these files https://github.com/solidusio/solidus_paypal_braintree/tree/master/lib/views/frontend/spree
k
so maybe you can try to move those files a directory behind
a
and readme a bit outdated, I guess
I tried, it looks weird, i'l try again and show
k
I just added
🚧 This extension is currently only compatible with the legacy
solidus_frontend
.
To the readme
a
@kennyadsl btw, what is the easiest way to get some working creditcard payments with new solidus frontend, https://github.com/solidusio/solidus_paypal_commerce_platform - this?
k
There’s a PR open now to add support for it: https://github.com/solidusio/solidus_paypal_commerce_platform/pull/166
we are working on that right now
a
nice, looking forward to it
k
thanks, we are doing our best to release it as soon as possible