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

Payment "source" is nil on PayPalExpress #241

Open
terfender opened this issue Apr 2, 2021 · 1 comment · May be fixed by #255
Open

Payment "source" is nil on PayPalExpress #241

terfender opened this issue Apr 2, 2021 · 1 comment · May be fixed by #255

Comments

@terfender
Copy link

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:

Screenshot+2021-04-02+12 06 12

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:

Screenshot+2021-04-02+01 09 16

Any ideas how to fix it?

@Vegann
Copy link

Vegann commented May 7, 2021

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.

@mad-eel mad-eel linked a pull request May 31, 2021 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants