PayPal connection: how much came in through PayPal yesterday and how many payments there were
You can set up the PayPal connection yourself in the Chatmated app on the Connections page: at present it reads the total in euros of yesterday's successful incoming payments and their number. Refunds, disputes and the payout schedule are things we build to order. You need the Client ID and Secret of a Live app on your PayPal business account, and the Transaction Search permission switched on.
You can set up this connection yourself in the Chatmated app. What the ready connection reads today is written at the top of the page. Below is everything the program's API allows: the rest we build on request.
Connect PayPalThe account takes a minute. Three days are free and no card is asked for.
What the connection reads
- Yesterday's transactions: amount, currency and status
- The number of successful incoming payments
- Refunds and disputes, if these are built on separately
What it does when you confirm
- The ready-made connection shows, in the morning view on the row Paid yesterday (PayPal), yesterday's total in euros and the number of payments
- To order, it can be built so that a PayPal payment is matched with a shop order
What it does not do
- Does not make payments
- Does not make refunds
- Does not see card numbers
What we need from you. The Client ID and Secret of a Live app on your PayPal business account. You find them at developer.paypal.com in the section Apps & Credentials. The app must have Transaction Search enabled.
Which row appears in the morning view
The buyer who pays through PayPal is often the one who comes to your shop from elsewhere in the world and does not want to type card details into an unfamiliar site. The money reaches the PayPal account, not the bank directly. So this part of the day's income tends to slip through the cracks: the order is recorded in the shop's report, nothing shows in the bank yet, and nobody opens PayPal's own view every morning.
The ready-made connection adds one row to the morning view named "Paid yesterday (PayPal)". The row has two numbers: the total in euros of yesterday's successful incoming payments and the number of those payments. Yesterday here means the Estonian calendar day.
What counts and what does not
| Transaction in PayPal | In the count | In the euro total |
|---|---|---|
| Successful, positive amount, in euros | Yes | Yes |
| Successful, positive amount, in another currency | Yes | No |
| Payout or fee (negative amount) | No | No |
The app counts as an incoming payment a successful transaction whose amount is positive. Payouts and PayPal fees are among the transactions with a negative amount, and these are left aside. The row therefore shows what buyers paid, not what was left in the account after fees.
If someone paid in dollars or pounds, their payment is in the count, but it is not added to the euro total. That is why it can happen that the row has six payments while the total corresponds to only four. This is not an error but a sign that two buyers used another currency. For one day the app reads up to 1500 transactions.
Why the early-morning number may be smaller
PayPal's documentation says that a completed transaction can take up to three hours to appear in the search. If a buyer paid at eleven yesterday evening and you open the morning view before sunrise, that payment may still be missing from the row. If the number seems too small, look at the row again a couple of hours later.
The app keeps the result it has read for half an hour. Opening the view again within that time does not make a new request; after that PayPal is asked for the fresh state.
How the Client ID and Secret are created
The steps are from PayPal's developer documentation.
- Sign in with your PayPal business account at developer.paypal.com.
- Open "Apps & Credentials".
- Switch the view to "Live", not Sandbox.
- Click "Create App" or use the existing app "Default Application".
- See that the app has "Transaction Search" switched on.
- Copy the "Client ID" and "Secret".
Both values go into the PayPal form on the Chatmated Connections page. The app exchanges them at PayPal for a short-lived token and immediately tries to search transactions. The form gives the answer right there and in plain language. If the pair is wrong, it says so. If the pair is right but the app lacks the Transaction Search permission, the app says exactly that, so that you do not have to guess which side is broken.
The Client ID and Secret are stored encrypted. Only read requests are made with them: Chatmated does not start payments or refunds, and it does not see card numbers.
Managing the row and interruptions
A connected row has a "Manage" button. Behind it are the connection's status, the time of the last check and a list of what is read. In the same window you can check the connection again, replace the Client ID and Secret, pause reading and resume later, or remove the connection. Removing asks for confirmation first. While paused, the keys are kept, but PayPal is asked nothing.
Every connection is gone over automatically once a day. If PayPal rejects the keys on two consecutive attempts, the connection is marked as broken and an e-mail goes to the account owner. If PayPal simply does not answer, the connection is not marked as broken, because that does not mean there is anything wrong with your keys.
The same can be done in the chat. Ask the app's agent whether the PayPal connection is in order, and it will check it. It offers pausing, resuming and removing with a confirmation button. It does not ask you to type the Secret into the chat: instead a link comes that takes you to the right row on the Connections page.
What the PayPal connection does not do yet
Refunds, disputes, the payout schedule and matching a PayPal payment with a shop order do not belong to the self-connect part. We build these to order. If you take card payments elsewhere too, see the pages Stripe connection and SumUp connection. How the sales of different channels become one morning number is described on the page how much was sold yesterday, and the online shop's day as a whole on the page online shop.
The PayPal connection has not yet been tried with a real account. It is built according to PayPal's public documentation.
Questions
Why does the morning total not match PayPal's own report?
According to PayPal's documentation, it can take up to three hours for a completed transaction to reach the search. A late-evening payment may still be missing in the early morning. In addition, payments in another currency are not added to the total, and payouts and fees are not counted.
Will Sandbox keys do?
No. Sandbox is PayPal's trial environment and there are no real incoming payments there. On the Apps & Credentials page the switch must be set to Live.
What should I do if the app says the Transaction Search permission is missing?
Open the same app at developer.paypal.com, switch Transaction Search on and press the check-again button in the row's management window on the Chatmated Connections page.
Sources
- PayPal Developer: REST APIs · read 17 November 2026
- PayPal Developer: Authentication · read 17 November 2026
- PayPal Developer: Transaction Search API · read 17 November 2026