Failed to retrieve JWT
I am getting this error when creating a checkout -- what causes this?
Same here.
I'm also getting this but only on test mode.
I was getting some here. Fix it by verifying that you are are passing correct client token & seller id.
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
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!
It would be really helpful if Paddle.Initialize did this automatically when using a 'test_XXXXXXX' token
It would be really helpful if Paddle.Initialize did this automatically when using a 'test_XXXXXXX' token
+1
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!
thx
It would be really helpful if Paddle.Initialize did this automatically when using a 'test_XXXXXXX' token
+1
i feel like we are in the wrong repo
https://github.com/PaddleHQ/paddle-js-wrapper should be this one
I'm also getting this but only on test mode.
then how to fix this!
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!
thx
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!
THANKS MAN , i was literally hitting my head fixing this issue for more than 3 hours, damn i feel dumb, even Cursor ai could not fix this issue.. GOD BLESS YOU