PayPal 3DS
Test Case #6

Authentication Not Available on Lookup

3DS 查找时验证不可用

详细说明

在 3DS 查找阶段,验证服务不可用。enrollment_status 为 U,没有返回 authentication_status。交易可以继续,但商户将承担欺诈相关责任。

参数详情
3DS API 响应中的关键参数
enrollment_status
U未知
authentication_status
N/A无验证状态
liability_shift
NO
处理建议

Continue with authorization.

推荐测试卡号
Test Case 6: Authentication Not Available on Lookup
Visa
4868719488651967
Mastercard
5329879714462553

有效期:任意未来日期(如 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 #6 的代码示例
// 处理 3DS 验证结果 - Test Case 6
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 6: Authentication Not Available on Lookup
  // liability_shift: NO
  // enrollment_status: U
  // authentication_status: N/A
  
  if (enrollment_status === 'U' && !authentication_status) {
    // 查找时不可用,无责任转移
    // 商户承担风险,根据策略决定
    return proceedWithRisk(response);
  }
}