自定义客户的条纹触发事件

问题描述 投票:0回答:0

我正在尝试使用此 stripe-cli 命令触发事件

invoice.payment_failed

stripe trigger invoice.payment_failed --override invoice:customer=cus_xxxxxxxxxxx

但出现错误

The customer does not have a payment method with the ID pm_1N2bxlD2ps9EQx1RcJjvzNKe. The payment method must be attached to the customer.

如何使用 stripe-cli 命令覆盖此付款方式?

stripe-payments command-line-interface
© www.soinside.com 2019 - 2024. All rights reserved.