By Hanzalah Seikhai, payment integration developer. 3 December 2026

PayPal webhook not working: how to verify it and stop missing paid orders

PayPal problems look like Stripe problems: the buyer paid, PayPal shows it, and the order never updates. The setup is different, so the checks are too.

1. Capture on the server

With PayPal Checkout, the buyer approves in the PayPal window, then your server captures the order with the Orders API. If the capture only happens in the browser, a closed tab means an approved but uncaptured order. Capture from your backend and save the capture id.

2. The webhook belongs to the right app and environment

Webhooks are set per REST app in the PayPal developer dashboard, separately for sandbox and live. A webhook added to the sandbox app never fires for live payments.

3. Verify with the right webhook id

Verification uses the PayPal transmission headers, the raw event body and the webhook id from the dashboard, sent to the /v1/notifications/verify-webhook-signature endpoint. A wrong webhook id, or a body that was parsed and re-encoded first, gives a failed verification on every event.

4. Handle the events that matter

  • PAYMENT.CAPTURE.COMPLETED to mark the order paid.
  • PAYMENT.CAPTURE.DENIED and PAYMENT.CAPTURE.PENDING for captures that did not complete yet.
  • PAYMENT.CAPTURE.REFUNDED for refunds made in the PayPal dashboard.

5. Duplicates and order matching

PayPal resends events too. Store the event id and skip repeats. Put your own order id in custom_id or invoice_id when creating the order, so the webhook can find it.


If you want this fixed or built in your app, see PayPal Checkout in Laravel or PHP, hire me on Upwork, or get in touch.

Written by Hanzalah Seikhai, Stripe developer. Hire me on Upwork.

More notes