Skip to content
FunnelGuard

Fix guide by FunnelsGuard

PayPal IPN or webhook URL wrong: orders stuck pending, how to fix

DLV-163High impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

PayPal does not tell your store about a payment through the customer's browser alone. It also sends a server-to-server message. The older method is IPN (Instant Payment Notification). The newer method is a webhook. Both are a message sent to a URL you control.

If that URL is wrong, the message goes nowhere. Common causes: a site moved from http to https, a domain change, a staging URL left in the settings, a typo, a redirect that drops the request, or a firewall that blocks PayPal. The payment is real. The order is not updated.

Where the order gets stuck
  1. Customer paysPayPal approves the payment
  2. PayPal sends IPN/webhookSent to the saved URL
  3. Store updates orderNever receives the message
  4. Emails, stock, fulfilmentNever triggered

The customer pays, but the notification never reaches the store.

Why it costs you leads or sales

The customer has paid but gets no confirmation email, no download and no shipment. Orders stay pending, so they may be cancelled automatically after a set time. Customers then ask for refunds or open disputes. Your reports also miss the revenue, and purchase tracking that depends on the order status may never fire.

Paid orders by statusExample numbers
Paid orders by status (example)Paid in PayPal: 50 orders; Processing in store (broken): 0 orders; Processing in store (fixed): 50 orders0193850050Paid in PayPalProcessing in store (…Processing in store (…orders

Example: 50 PayPal payments in a week. With a wrong notification URL, none move from pending to processing.

How to check if your site has it

Check for the problem
  1. Compare PayPal with your store

    Look at recent PayPal transactions marked Completed. Then find the same orders in your store. Any that are still pending or on hold point to this issue.

  2. Check the IPN history in PayPal

    In your PayPal business account, open the IPN history (under Profile, then Selling tools, then Instant payment notifications). Look for messages marked as failed or with an HTTP error.

  3. Check webhook events in the developer dashboard

    In the PayPal Developer dashboard, open your app, then Webhooks. Check that the listed URL is correct and look at the event log for failed deliveries.

  4. Check your server logs

    Search access logs for the listener path. A 404, 301 to another URL, 403 or 500 response tells you why delivery failed.

What common responses to the PayPal call usually mean
ResponseLikely cause
404Wrong path or plugin listener URL changed
301/302Redirect from http to https or www to non-www drops the request
403Firewall, security plugin or bot protection blocks PayPal
500Error in the listener code or plugin
TimeoutServer too slow or listener does too much work

How to fix it

Fix the notification URL by platform
  1. Use the URL your plugin expects

    For WooCommerce with the PayPal Payments plugin, webhooks are registered from the plugin settings (WooCommerce, Settings, Payments, PayPal). Reconnect the account or use the webhook options there so the URL is rebuilt from your current site address.

  2. Check the site address

    In Settings, General, make sure WordPress Address and Site Address use the live https domain.

  3. Allow PayPal through security tools

    If a security plugin or firewall blocks the call, add an exception for the listener path. Do not disable bot protection site-wide.

Minimal IPN listener skeleton: answer 200 firstphp
<?php
http_response_code(200);
$raw = file_get_contents('php://input');
// Post $raw back to PayPal with cmd=_notify-validate
// to get VERIFIED or INVALID, then update the order.
error_log('PayPal IPN received: ' . substr($raw, 0, 200));
Check the listener URL for redirectsbash
curl -I https://example.com/your-paypal-listener-path

How to confirm it's fixed

Confirm delivery
  1. Resend a failed notification

    In IPN history, use the resend option on a failed message. In the Developer dashboard, use the webhook events log to resend an event.

  2. Check the order

    The related order should move from pending to processing or completed.

  3. Make a small test payment

    Use PayPal Sandbox, or a small real payment you refund afterwards, and confirm the full order flow including the confirmation email.

  4. Clean up older orders

    Fix orders that are still pending but paid, by hand or by resending their notifications.

How to prevent it happening again

Prevention checklist
  • Re-check the PayPal webhook or IPN URL after every domain, https, www or hosting change.
  • Remove staging URLs from live PayPal settings.
  • Review PayPal IPN history or webhook logs weekly.
  • Compare completed PayPal payments with store orders each week.
  • Keep security plugin and firewall exceptions documented.
  • After plugin updates, make a test payment.

How FunnelGuard handles this

FunnelGuard does not check this yet. Verifying that PayPal's server-to-server message reaches your store is a possible future check.

Nearby, FunnelGuard runs your real customer journeys on a schedule, such as a checkout, and checks each step and the tracking hits sent to ad and analytics platforms. It stops before payment unless the store's test mode is set up, so it does not complete real PayPal payments.

FunnelGuard has a Free plan (1 site, 2 journeys, daily checks, no card) and a free read-only website audit if you want to cover the rest of your funnel.

Questions people ask

Why is my PayPal order still pending after payment?

Usually your store never received PayPal's IPN or webhook message. The URL saved in PayPal may be wrong, redirected, blocked by a firewall or returning an error. Check PayPal's IPN history or webhook event log for failed deliveries.

Where do I find the PayPal IPN history?

Log in to your PayPal business account and open Profile, then Selling tools, then Instant payment notifications. The IPN history shows each message, its status and lets you resend failed ones.

How do I fix a wrong PayPal webhook URL?

Open the PayPal Developer dashboard, select your app and edit the webhook so it uses the exact live https URL your store listens on. On WordPress, reconnecting the PayPal plugin often rebuilds it. Then resend a failed event to test.

Can a redirect break PayPal IPN?

Yes. If the listener URL redirects, for example from http to https, the notification may fail. Save the final URL, with no redirect, in your PayPal settings.

Will resending the notification update my old pending orders?

Often yes, once the URL is fixed. Resend the failed IPN or webhook event and the order should update. If it does not, update the order manually after confirming the payment in PayPal.

Does a pending order mean the customer was not charged?

Not necessarily. With this issue the customer is charged in PayPal while the store still shows pending. Always check the PayPal transaction before cancelling or refunding.

Does FunnelGuard detect a wrong PayPal webhook URL?

No, not yet. It is a possible future check. Today, compare PayPal transactions with store orders and review PayPal's delivery logs.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.