简体   繁体   English

Paypal结算协议取消

[英]Paypal Billing Agreement Cancellation

To cancel a Billing Agreement created by a customer, Paypal gives an API which METHOD=BillAgreementUpdate to cancel a billing agreement. 要取消客户创建的开票协议,贝宝会提供一个API,该API的METHOD=BillAgreementUpdate可以取消开票协议。 But when a user cancels the agreement by logging into his account, how do we find this out? 但是,当用户通过登录其帐户来取消协议时,我们如何找到它呢?

Does paypal send a notification when the agreement is cancelled or is there any API call we could use to check whether the agreement exists or not? 协议取消后,贝宝会发送通知吗?是否有任何API调用可用于检查协议是否存在? I couldn't find any information about any such notifications from searching on google. 我在Google上搜索找不到任何有关此类通知的信息。

Take a look at Instant Payment Notification (IPN) . 查看即时付款通知(IPN) It'll give you what you want. 它会给你你想要的。

Paypal does not give any IPN if user cancels billing agreement. 如果用户取消结算协议,贝宝将不提供任何IPN。 It can only be identified by error thrown when corresponding API call is made. 只能通过调用相应的API时抛出的错误来识别它。

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

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