spree_braintree_vzero
spree_braintree_vzero copied to clipboard
Payment "source" is nil on PayPalExpress
Hi,
Using the latest master branch, and:
gem 'spree', '~> 4.2.1'
gem 'spree_auth_devise', '~> 4.3'
gem 'spree_gateway', '~> 3.9'
gem 'spree_braintree_vzero', :github => 'spree-contrib/spree_braintree_vzero', :branch => 'master'
I am still getting this error:

which points to this "catch" line:
function onFetchClientToken(clientToken) {
setupForm();
}).catch(function (err) {
console.log('component error:', err);
});
If I proceed with the payment, I get this error:

Any ideas how to fix it?
Hi! Make sure that you set the PayPal express as a backend
payment, then the working Pay with PayPal
button will be visible at the cart page.