Webhook is not arriving

Estimated reading: 2 minutes views

Summary: Most missing webhooks are blocked URLs, HTTPS problems, or handlers that never answer 200.

When a webhook does not arrive, your store never learns that a payment confirmed, and the buyer waits. The cause is almost always on the receiving side: a URL that cannot be reached, a firewall rule, or a handler that returns an error. Work through this list from the outside in.

Reports view showing payment status and webhook delivery history for a transaction

Why it happens

The URL is not reachable from the internet

A localhost or private address cannot be reached from the internet.

HTTPS is missing or broken

Use a valid certificate on a public domain. An expired certificate or a redirect from HTTPS to HTTP can stop the request before your code runs.

A firewall or WAF blocks the request

Some rules reject requests without a browser user agent, or block POST bodies. A WAF challenge page returns 403 or 200 with HTML instead of reaching your handler.

The handler throws an error

A missing field, a strict type check, or a database error returns 500. RasterPay retries, but the same error repeats.

The handler never answers 200

Returning 204, a redirect, or a JSON body with a 4xx status counts as a failure. Any status other than 200 is treated as a failed delivery.

What to do

  1. Open Settings > Webhook and confirm the Webhook URL character by character.
  2. Call the URL from an external test tool with a POST request. If nothing answers, the problem is the network, not RasterPay.
  3. Check your access log for the request. No entry means the traffic never arrived.
  4. Log the raw body and the headers before parsing.
  5. Answer 200 first, then process. Do the heavy work after the response.
  6. Check the Webhook secret key comparison: a mismatch that throws an error is a common silent failure.

Duplicates and retries

Retries are expected when your endpoint does not answer 200, and the same transaction can arrive more than once even on success. Store the transaction id and skip anything you already handled.

What to check in your logs

  • Request time and the transaction id in the body.
  • Response status you returned.
  • Any exception, with the stack trace.
  • Whether other traffic reaches the same path.

If the request arrives and returns 200 but nothing updates, the bug is in your handler logic. If nothing arrives at all, send the URL, the transaction hash, and the time window to support@rasterpay.com.

Share this Doc

Webhook is not arriving

Or copy link

CONTENTS