付款因过多重试被阻止

2021 年 4 月 1 日,Visa 针对过多重试实施了新收费政策,以执行禁止过多付款重试的规则。Visa 的规则广泛禁止在 30 个日历日内单次付款重试超过 15 次。为了帮助集成定价方案用户遵守此新规则,在对 Visa 交易进行第 15 次重试尝试之后,如果 Stripe 确定给定收款的成功授权机会较低,Stripe 将自动阻止后续重试尝试。

此例中,对收款对象的 API 响应将为:

{

 "error" => {

   "charge" => "ch_123456789",

   "code" => "card_declined",

   "decline_code" => "generic_decline",

   "doc_url" => "https://stripe.com/docs/error-codes/card-declined",

   "message" => "Your card was declined.",

   "type" => "card_error"

 }

}

charge.failed webhook 中,"outcome" 字段将如下所示:

{

 "network_status" => "not_sent_to_network",

 "reason" => "previously_declined_do_not_retry",

 "risk_level" => "normal",

 "seller_message" => "Stripe blocked this payment.",

 "type" => "blocked"

}