I am building a website and I want to import the users PayPal transaction history using the API.
My issue is that the PayPal sandbox accounts do not have any transaction history. I need to be able to test getting a 500+ transactions from the API.
Has anybody got any suggestions on a good way to create or import transaction data into the sandbox account? I have a CSV of the transactions from my account which has a few thousand records but I can't see a way to import it on the sandbox account.
What you'll want to do is access the history of the transactions via the sandbox.paypal.com and not the transaction history via the developer portal.
You cannot import history data into PayPal because the data should be in the dashboard; counterintutive
You should be able to see the transactions in each merchant account via sandbox.paypal.com using the email and pw you created for each one
Hope this helps
Related
Paypal allows to test payments using sandbox accounts. However, where I live on live, it says to upgrade it to business account. Is it possible to go live and get client ID and secret key?
Any help would be greatly appreciated.
Typically you cannot create REST credentials for a personal account.
You should in fact upgrade it to a business account. There is no reason not to.
I have a PayPal application that I just got to live mode using the developer console in PayPal
In this application I will using my PayPal application to transfer money between our users.
So far so good and the transactions are working , the money is getting passed between our users,
I just cannot see any indications or records any where in PayPal user interface.
I tried to create reports using the activity log here : https://www.paypal.com/activities
but I cannot see anything related to the transactions of our users
where I can see the records of all the transactions that are been made in my PayPal application using their Interface ?
If the transaction is not between your account (but rather between users' PayPal accounts), there will be no reporting available on such transactions for you in PayPal.com account nor the transaction reporting API of that account..
To use the transaction reporting API on behalf of third parties (without a client id and secret from their account) requires being a PayPal partner.
If you are facilitating transactions between users, the solution is to record the successful capture in your own database for reporting purposes.
for my project I'm trying to list my end user's transactions when they log into my app. I want to get all the transactions for a user by their email (because it's the most unique identifier I have for them). I've looked through the paypal api docs for a way to search transactions by a payee's email via the /v1/reporting/transactions but I don't see any parameters that would allow that.
Am I missing something? is there really no way to search paypal for transactions by payee's email (or any payee info for that matter)?
There is no way. Keep a record of completed transactions in your own database.
For past transactions, the user can do an Activity Download of a CSV file from their account which you can import.
I have created and submitted a Paypal application ( using the classic API). The application is in a conditionally approved state. Paypal reached out and asked additional questions which I responded back with details. The application does not use the Paypal API to make payments. It only reads transactions related data and shows useful reports and insights for users. The API permissions requested are
1.Obtain transaction specific information.
2.Obtain your paypal account balance
3.Search your transaction specific information.
4.Search your transactions for items that match specific criteria and display the results
I was able to get a live app id and also have the API username, password and API signature. However since our app uses Paypal oauth, the permissions part doesn't work . My guess is this is because the app is conditionally approved. Is this the right assumption? Also what is the typical timeline for an app to get approved? My Paypal account from which I created and submitted the app is a verified account. I have sent messages from within my developer portal to support but I haven't heard anything back.
So far we have been working with a sandbox account. The live application I created is in a different account than the sandbox account. I am not sure if this is an issue.Would be great if someone who has been through the process can confirm.
Unfortunately there is not really a "typical" time frame for app approvals as too many factors go into the approval process. The best thing would be to call in to PayPal to inquire on the status.
I've got a client website in production with both PayPal checkout and PayPal pro credit card payments. I need to update the code sometimes, but I want to be 100% sure that the code works. However I can't test it because I'd have to make a real payment for that.
How do you deal with this?
You can run test transactions against the sandbox box and test the different API calls. You would need to set up a developer account at developer.paypal.com. Then create a couple of test accounts such as a seller account and a buyer account. Generate your API credentials for your test seller account. Then plug those into your code, and make test API calls against that account. You can set up your test accounts to mimic your live accounts.