PayPal payment logs
PayPal payment logs post every payment, refund, chargeback, dispute and subscription change on your PayPal account to private Discord channels, and keep a searchable log on the dashboard. It is for watching the money, not handling it.
Where: Dashboard โ Content โ PayPal ยท Needs the Pro plan.
Read-only. FiveUnity never asks for your PayPal password, client secret or API keys, so it has no way to refund, charge, pay out, accept a dispute or move money. PayPal sends FiveUnity notifications, and FiveUnity records them. Everything you do with the money still happens on paypal.com.
#How it works
PayPal has two ways of telling another service what happened on your account, and FiveUnity listens to both. Use whichever covers how you take money, or both.
| Webhooks | IPN (Instant Payment Notification) | |
|---|---|---|
| Covers | Checkout payments, v1 sales, refunds, reversals, disputes, subscriptions and invoices made through a PayPal app | Everything on the account, including Donate buttons, pay links and checkout links, PayPal.me links and Send money |
| Set up at | developer.paypal.com โ Apps & Credentials โ your app โ Webhooks | paypal.com โ Account Settings โ Website payments โ Instant payment notifications |
| How FiveUnity checks it | PayPal's signature, checked against your webhook ID | Sent back to PayPal, which answers whether it sent it, and a private URL |
| Limit | Up to 10 webhook URLs per app | One IPN URL per PayPal account |
When both report the same payment, it is logged and posted once: completed payments, refunds and reversals are matched on PayPal's transaction ID. A later report that adds detail (for example the buyer's name from an order event) updates the Discord post instead of posting again.
Notifications PayPal marks as sandbox tests are logged with a Sandbox badge, never ping anyone, and are left out of the totals.
#Set up webhooks
- Open Dashboard โ Content โ PayPal and copy the Webhook URL under PayPal webhooks.
- Sign in at developer.paypal.com, open Apps & Credentials, switch to Live, and open the app your checkout uses (create one if you have none; FiveUnity never needs its secret).
- Under Webhooks, press Add Webhook, paste the URL, and tick the events listed under Events to tick on the dashboard (or All events). Save.
- PayPal now shows a Webhook ID next to the URL. Copy it into Webhook IDs on the dashboard and press Add.
- Turn PayPal logging enabled on and save with the save bar.
You can save up to 5 webhook IDs, for example a live and a sandbox app, or two shops. A delivery whose signature matches none of them is refused.
#Set up IPN
- Under PayPal IPN, press Turn on IPN. The IPN URL is shown once: copy it now. It works like a password, so keep it private.
- On paypal.com open Account Settings โ Website payments โ Instant payment notifications โ Update (on some accounts: Notifications โ Instant payment notifications).
- Paste the URL as the Notification URL, choose Receive IPN messages (Enabled) and save.
- Optional: add your PayPal email or 13-character merchant ID under Only log payments to these PayPal accounts. IPN messages for any other account are then ignored.
A PayPal account has only one IPN URL. If another service (an older store plugin, for example) already uses it, pointing it at FiveUnity stops that service hearing from PayPal. Use webhooks instead in that case.
Lost the URL? Press Make new URL, which retires the old one immediately, and paste the new one into PayPal.
#Discord log channels
Press Create log channels to make a private PayPal Logs category with one channel per group. Only members with Administrator can see it until you give your team access; payment posts include buyer names and emails. You can also pick existing channels instead.
| Group | Default channel | What goes there |
|---|---|---|
| Payments | #paypal-payments | Completed and pending payments, subscription payments, paid invoices |
| Refunds | #paypal-refunds | Refunds you issued, pending and failed refunds |
| Chargebacks and reversals | #paypal-chargebacks | Card chargebacks, reversed payments, cancelled reversals |
| Disputes and claims | #paypal-disputes | PayPal disputes and claims: opened, updated, resolved with the outcome |
| Subscriptions | #paypal-subscriptions | Subscriptions created, activated, cancelled, suspended, expired, failed payments |
| Everything else | #paypal-other | Declined payments, order and invoice events, anything new PayPal adds |
Switch a group to Muted to keep it on the dashboard without posting it. Alert role is pinged on chargebacks, reversals, new disputes and failed subscription payments. Send test post posts a clearly marked test to the first channel you set, so you can check FiveUnity can post there.
Each post shows the amount, the payer, the status or reason, a Respond by deadline for disputes, and the PayPal references (transaction, original payment, case, subscription and invoice IDs) to search for on paypal.com.
If the buyer agreed to your terms in a ticket (Terms agreements), the payment is linked to their receipt when the invoice carries the receipt id or the payment comes from the email they gave. A dispute or chargeback on that payment then shows a ๐ Terms accepted line with the receipt, ready to upload with your response.
#The dashboard
- Last 30 days: payments, refunds, chargebacks and reversals, disputes opened, and open cases with the next reply deadline. Money is totalled per currency: received, refunded and reversed.
- Payment log: everything PayPal reported, newest first. Search by payer name, email, transaction ID, case ID, subscription or invoice, and narrow to one group.
- Last refused delivery: when PayPal (or anyone) sends something FiveUnity refuses, the reason appears here for 7 days. The most common one is a webhook ID copied from a different app or mode.
#Who can see it
Server managers, and members whose permission group holds setup or the paypal node (Dashboard โ Server setup โ Permissions). Grant paypal alone to let a finance team read the log without any other dashboard access.
#Data kept
FiveUnity keeps what it needs to recognise a payment: amount and currency, the payer's name, email and PayPal payer ID, the item or invoice text, status, reason, and PayPal's reference IDs. It does not keep addresses, card details (PayPal never sends them) or the raw notification. Log rows are deleted after 365 days; PayPal remains the record of the money.
On a server without an active Pro plan, notifications are still recorded so the log is complete when the plan is back, but nothing is posted to Discord.
#Troubleshooting
| What you see | What to do |
|---|---|
| "The signature did not match any saved webhook ID" | Copy the Webhook ID again from the same app, and the same Live or Sandbox mode, as the URL. |
| "No webhook ID is saved on the dashboard yet" | Add the Webhook ID from step 4 and save. |
| "PayPal said it did not send it (INVALID)" | Something other than PayPal posted to your IPN URL. Press Make new URL and update PayPal. |
| "Ignored an IPN message for โฆ" | The payment went to a PayPal account not on your Only log payments to these PayPal accounts list. Add it, or clear the list. |
| Nothing arrives | Check PayPal logging enabled is on and saved, and that the URL in PayPal is exactly the one shown. PayPal retries failed deliveries for about three days. |
| Events are listed but not posted | Pick or create the group's channel, and check it is not muted. |