You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Stripe Radar规则未按预期拦截特定BIN,求助新老客户场景适配

Stripe Radar 拦截特定BIN的正确规则配置

原规则问题分析

你之前的规则Block if :card_bin: in @bins_to_block and not :is_recurring:无法生效的核心原因是:新订阅的首次支付属于 recurring 场景,:is_recurring:变量值为true,导致not :is_recurring:条件不成立,规则无法触发拦截。

适配需求的正确规则

根据你「老客户(有有效订阅)允许支付,新客户(无有效订阅)拦截指定BIN」的需求,应使用customer_has_active_subscriptions变量来区分客户类型,正确规则如下:

Block if :card_bin: in @bins_to_block and not :customer_has_active_subscriptions:

规则逻辑说明

  • 当支付请求的卡BIN在bins_to_block列表中,且客户无活跃订阅(即新客户)时,规则触发拦截。
  • 老客户拥有活跃订阅时,not :customer_has_active_subscriptions:为false,规则不触发,允许正常支付,完全匹配你的需求。

可选进阶规则(按需选择)

如果需要针对「从未有过成功支付记录的纯新客户」进行拦截(比如老客户取消订阅后重新订阅的场景仍允许支付),可以使用customer_has_paid_payments变量:

Block if :card_bin: in @bins_to_block and :customer_has_paid_payments: == 0

内容的提问来源于stack exchange,提问作者Juan Pablo B

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.16 00:52:05