第二次对 Paypal 计费订阅收费时,将向 webhook 触发什么事件?
When a Paypal billing subscription is charged for the 2nd time, what event is fired to the webhook?
假设我创建了一个 billing plan
,然后是 billing agreement
(即订阅),它通过 Paypal REST API
每月和无限地收费,并且我有一个 webhook 可以监听所有事件:下个月客户收费时将触发什么事件类型?
这是一个 list of all the possible events, I tried many of them in the simulator,但是 none returns 类似于关联 billing agreement
.
的 ID
我发现了困难的方法。这是PAYMENT.SALE.COMPLETED
您通过 event.resource.billing_agreement_id
获取结算协议 ID
假设我创建了一个 billing plan
,然后是 billing agreement
(即订阅),它通过 Paypal REST API
每月和无限地收费,并且我有一个 webhook 可以监听所有事件:下个月客户收费时将触发什么事件类型?
这是一个 list of all the possible events, I tried many of them in the simulator,但是 none returns 类似于关联 billing agreement
.
我发现了困难的方法。这是PAYMENT.SALE.COMPLETED
您通过 event.resource.billing_agreement_id