#jonthings
1 messages · Page 1 of 1 (latest)
Hi, what's the problem?
I keep getting Invalid Token Id,
and im not sure what im doing wrong
What are you trying to do?
Could you please share a Request ID req_xxx or PaymentIntent ID pi_xxx?
req_aHh6x8dKtH8EVV
im passing token id from stripe elements and then paymentMethods.create and pass the payload like so
const paymentMethod = await alphaStripe.paymentMethods.create(
{
type: 'card',
card: {
token: token
}
}
);
Thanks for sharing, let me check
I see, it seems like the token was created by a different account.
Please double check the secret key and publishable key and make sure they're from the same account.
i double checked and they are from the same account :/
sk and the pk are from the same stripe account
I can't confirm that, unfortunately. That's why it is failing.
Maybe the key is overwritten somewhere.
ok tysm i will check