WordPress.org

Ready to get started?Download WordPress

Forums

Olimometer
Transaction ID (4 posts)

  1. Jon
    Member
    Posted 11 months ago #

    Awesome plug-in thanks!!
    You have the great feature of using the Paypal API to get my paypal balance. I am wondering if there is a way to get more granular information out of paypal? For example, my site has 3 donation categories with 3 separate donate buttons. Each one adds its own "Donation ID" so I can distinguish between them. Would there be a way to pass the transaction ID (or the unique button value assigned by paypal) to paypal, so it returns just the balance in the account that relates to the donations that have a specific transaction ID? In other words, i'd like to have three olimometers, once for each donate type, instead of using one that shows all three combined.

    FYI - here is my site.
    http://www.the82project.org/donate

    http://wordpress.org/extend/plugins/olimometer/

  2. oshingler
    Member
    Plugin Author

    Posted 11 months ago #

    This is the #1 requested feature for my plugin so I am investigating. Not sure if I can do it but I'll let you know if/when I manage it.

  3. oshingler
    Member
    Plugin Author

    Posted 11 months ago #

    Hi,

    I'm going to have to admit defeat on this one unless someone out there has any ideas and would like to assist?

    In order to get the total of specific transactions (i.e. ones made using a specific button), the only way I can see to achieve this is to use PayPal's transaction search api (https://developer.paypal.com/webapps/developer/docs/classic/api/merchant/TransactionSearch_API_Operation_SOAP/) passing it a date range, then iterating over each result to check whether it meets the criteria. There are several problems with this that I can't figure out how to overcome:
    - It is very slow to do this. I could I guess speed it up with a cache, but that would mean non-live results on occasions.
    - The deal breaker: you can only return 100 records and there doesn't appear to be a paging option.

  4. Jon
    Member
    Posted 11 months ago #

    Well beyond my comprehension, but its very cool of you to explore this in depth. I hope someone can find an answer. Thanks

Reply

You must log in to post.

About this Plugin

About this Topic