简体   繁体   中英

Paypal API for checking status of recurring (subscription) payment

Does anyone know is there any way to check status of recurring (subscription) payment at PayPal. I just want to submit transaction ID and to see is payment canceled (suspended) or it is still active.

If you're using the Recurring Payments API you can use GetRecurringPaymentsProfileDetails to obtain details including the current status of the profile.

If you're working with Standard Subscriptions, though, then there is no API to obtain the details, unfortunately.

In either case, I'd recommend looking into Instant Payment Notification (IPN) . Using it you could automate the process of sending email notifications, updating your own database, etc. when new profiles are created, suspended, re-activated, etc.

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