简体   繁体   English

Paypal 订阅中卡过期的 Webhook 事件

[英]Paypal Webhook Event for card expiracy in a subscription

I would be pleased to know what is the webhook event fired by Paypal when, during a subscription, a payment fails (not at the subscription creation but at its renewal).我很高兴知道 Paypal 在订阅期间付款失败(不是在订阅创建时而是在续订时)触发的 webhook 事件是什么。

Thank you.谢谢你。

BILLING.SUBSCRIPTION.PAYMENT.FAILED

The most straightforward solution is to simply base all logic on PAYMENT.SALE.COMPLETED .最直接的解决方案是将所有逻辑简单地基于PAYMENT.SALE.COMPLETED If you don't receive one on time for a subscription, then it has lapsed.如果您没有按时收到订阅,那么它已经失效。


Adding a custom_id when a subscription is first created can be useful for reconciliation.在首次创建订阅时添加custom_id对协调很有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM