Payment "source" is nil on PayPalExpress
Opened this issue · 1 comments
terfender commented
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?
Vegann commented
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.