Test Case #5
Rejected Frictionless Authentication
3DS 验证被发卡行拒绝
详细说明
发卡行明确拒绝了 3DS 验证请求。这通常表示发卡行认为该交易存在高风险。强烈建议不要继续处理。
参数详情
3DS API 响应中的关键参数
enrollment_status
Y已注册authentication_status
R验证被拒liability_shift
NO处理建议
Do not continue with authorization.
推荐测试卡号
Test Case 5: Rejected Frictionless Authentication
Visa
4868719081564153Mastercard
5319541865518409有效期:任意未来日期(如 2028-12) | CVV:任意 3 位数字(Visa/Mastercard)
1
Create Order
创建包含 3DS 验证的支付订单
测试卡信息
此场景推荐使用的测试卡号已预填充。有效期和 CVV 可使用任意未来日期和 3 位数字。
填写卡号信息后点击「Create Order」开始测试
2
Get Order Details
请先执行 Create Order
在买家完成 PayPal 批准流程后,点击「Get Order」获取 3DS 验证结果。
请先执行 Create Order
前端处理示例
处理 Test Case #5 的代码示例
// 处理 3DS 验证结果 - Test Case 5
function handle3DSResult(response) {
const authResult = response.payment_source?.card?.authentication_result;
if (!authResult) {
console.log('No authentication result');
return handleNoAuthResult(response);
}
const { liability_shift, three_d_secure } = authResult;
const enrollment_status = three_d_secure?.enrollment_status;
const authentication_status = three_d_secure?.authentication_status;
// Case 5: Rejected Frictionless Authentication
// liability_shift: NO
// enrollment_status: Y
// authentication_status: R
if (authentication_status === 'R') {
// 验证失败/被拒,建议拒绝交易
return rejectTransaction('3DS authentication rejected');
}
}