Free tools / Webhook duplicate tester

Will your webhook credit the same payment twice?

This builds a correctly signed Paystack test event and a script that sends it to your endpoint twice at the same moment, then twice in a row. Run it against your staging server and check the customer was credited once.

Fill in the form and press “Build the test”. Your key stays in this browser tab. Nothing is sent anywhere.

What should happen

  • All four deliveries get a 200 response
  • The payment is credited exactly once
  • A log line shows the three repeats were recognised
  • Changing the body without re-signing is rejected

If it credited twice

Your duplicate check is in application code, not the database. Put a unique constraint on the payment reference and do the insert and the credit in one transaction. The full fix is in this post.

Only use a test secret key, against a server you own. The tool refuses live keys. The signature is made in your browser with the Web Crypto API, and the key is never sent or stored.

WhatsApp