简体   繁体   中英

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. 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? I couldn't find any information about any such notifications from searching on google.

Take a look at Instant Payment Notification (IPN) . It'll give you what you want.

Paypal does not give any IPN if user cancels billing agreement. It can only be identified by error thrown when corresponding API call is made.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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