Hi there
We are migrating to the new SCA code without verify buyer and we are coming across an issue. When we use test card:
3700 000002 01022
to get the verification modal but the modal never shows and instead we get back an ok result and this then passes the token to the backend which then gives us an error saying card verification is required.
async function handlePaymentMethodSubmission(event, paymentMethod) {
event.preventDefault();
const token = await tokenize(paymentMethod); <- always returns the token
const paymentResults = await createPayment(token);
}
async function tokenize(paymentMethod) {
const tokenResult = await paymentMethod.tokenize(verificationDetails);
alert(tokenResult.status);
if (tokenResult.status === ‘OK’) {
return tokenResult.token;
} else {
throw new Error(errorMessage);
}
}
Any ideas where we might be going wrong?
All the best, Paul