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

Failed to retrieve JWT #520

Open
kobaidze3 opened this issue Jul 23, 2024 · 5 comments
Open

Failed to retrieve JWT #520

kobaidze3 opened this issue Jul 23, 2024 · 5 comments

Comments

@kobaidze3
Copy link

I am getting this error when creating a checkout -- what causes this?

@kirillrocks
Copy link

Same here.

@ArshErgon
Copy link

I'm also getting this but only on test mode.

@satpalsr
Copy link

satpalsr commented Aug 2, 2024

I was getting some here. Fix it by verifying that you are are passing correct client token & seller id.

@tinchx1
Copy link

tinchx1 commented Aug 13, 2024

This error pops up when you're trying to create a checkout using production data instead of the testing data from the sandbox. To fix it, just make sure you're using the right client token and seller ID from the Paddle sandbox environment—not the production ones.

You can grab the sandbox credentials by logging in here:

https://sandbox-login.paddle.com/login?s=Monolith&subject_type=user

@ernestmarcinko
Copy link

Hi,

Had the same issue with paddle.js v2. The solution is that after the Initialize method, the Paddle.Environment.set('sandbox'); also has to be called, otherwise it will assue it's live:

  Paddle.Initialize({ 
    token: 'test_XXXXXXXXXXX'
  });
  Paddle.Environment.set('sandbox');

Hope this helps!

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

6 participants