I'm getting same source id for each tokenize().

I integrate take a card payment with web SDK in my project.
I changed card and browser and billing information but tokenize() return same source id.
what is issue?

265 Views
Message 1 of 2
Report
1 REPLY 1

please check my question carefully.
const tokenResult = await card.tokenize(verificationDetails);
if (tokenResult.status === 'OK') {
return tokenResult.token;
} else {
let errorMessage = `Tokenization failed-status: ${tokenResult.status}`;
if (tokenResult.errors) {
errorMessage += ` and errors: ${JSON.stringify(
tokenResult.errors
)}`;
}
throw new Error(errorMessage);
}
Despite the changed verificationDetails, tokenResult.token is the same.

238 Views
Message 2 of 2
Report