I need to download all existing payment information from my PayPal account in order to analyze it, so I set up paypal ruby rest sdk, which included creating a new application with its own API keys and something else. I can make a successful request with the following:
payment_history = Payment.all( :count => 10 )
However
payment_history.payments
It's empty.
I'm not sure if this application can only access payments created with it? Can I get pre-existing payments with the rest of the api? I would prefer to use ruby, if possible, since I would like to save all this in a simple script, I need to analyze similar payments on the strip.
Some recommendations will be highly appreciated, as the paypal labrinth of documentation and overlapping APIs is very perplexing to me.
source
share