Created
December 28, 2017 22:21
-
-
Save stt/d79e62fd1c4983d946d5c23a2430484c to your computer and use it in GitHub Desktop.
Export eBay purchases / payment history to CSV/Excel/Google spreadsheet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
The new Paypal UI has lost some important functions that the old UI had, one being purchase history exporting. | |
This is alternative way to export the information: | |
1. open https://www.paypal.com/myaccount/activity | |
2. open your browser's js console (win: ctrl-shift-j, osx: cmd-opt-j) | |
3. copy-paste the following code into js console and execute it | |
*/ | |
j=JSON.parse($('#js_activityView').getAttribute('data-transactions')); | |
j.map(function(e,i){ | |
return [e.freetextSearchData.date.medium, e.counterparty, e.amounts.formattedAmount.value].join('\t'); | |
}).join('\n'); | |
/* | |
4. copy-paste the output into excel/google spreadsheet | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment