Update logic

This commit is contained in:
David Bomba 2024-09-10 15:43:05 +10:00
parent 953a8b632b
commit 3d67fe327b

View File

@ -177,7 +177,7 @@
const resource = await get3dsToken();
console.log("3DS Token:", resource);
if(resource.status != "pre_authentication_pending")
if(resource.status != "pre-authenticated" || resource.status != "authentication_not_supported")
throw new Error('There was an issue authenticating this payment method.');
console.log("pre canvas");