Here is my code that downloads transactions from paypal.
It starts by getting an access token. This is required. To do that requires that you have a client ID and Secret from paypal.
Get those here: https://developer.paypal.com/api/rest/#link-getclientidandclientsecret
The software creates a MySQL database first then downloads transactions to put in the database.
It checks for duplicate transaction IDs and won't put duplicates in the database.
I had an error of trying to put duplicates in the database. Got is sorted out.
The code is attached.
It starts by getting an access token. This is required. To do that requires that you have a client ID and Secret from paypal.
Get those here: https://developer.paypal.com/api/rest/#link-getclientidandclientsecret
The software creates a MySQL database first then downloads transactions to put in the database.
It checks for duplicate transaction IDs and won't put duplicates in the database.
I had an error of trying to put duplicates in the database. Got is sorted out.
The code is attached.
Attachments
Last edited: