SCA Popup Issue

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

In fact we get the same issue with the old code as well, is there currently an issue with SCA and the verification popup?

I just tested and it worked for me with the test value. That looks correct. Are you initializing the Web Payments SDK with the same location_id your going to take the payment with? :slight_smile:

Hi @Bryan-Square
Thanks for getting back to me. Checked we are using the same locaion_id, tried to create a new location in sandbox as well and still get the same issue. Just can’t get an SCA popup using our sandbox credentials.
The location id we are using is 6J3V1E5JDPGD2

Okay that test value is for our In-App Payments SDK and your using our Web Payments SDK. The value you’ll want to use is: 3700 000002 01014. :slight_smile: