简体   繁体   中英

Counting active profiles in Paypal recurring payments via API

I want is for my python script to log into my Paypal account and check how many active profiles there are in my recurring payments section.

I can't find any API that would help me, TransactionSearch API isn't quite what I want - I don't want transactions, only active profiles

The only idea I have is to somehow detect every subscription and cancelation "on fly" and update a counter in the database. Although it seems... impure :)

So what you can do (or would need to do) is record the profile ID's of every profile. So as a user signs up, you keep track of the profile ID. Then you can use GetRecurringPaymentsProfileDetails API to figure out if its active or not.

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