Authentication
Webhook authentication mistakes in n8n
A public webhook URL will receive traffic that did not come from the provider. These are the failures the pack is built to avoid, and the ones that remain if the buyer settings are left unfinished.
Trusting the JSON body
Anyone who can POST to the URL can invent a sale id or a payment status. The pack uses the body to choose what to look up. The sale or payment that counts is the one returned by the provider API.
Putting the secret in the workflow file
Exported JSON is easy to copy into a ticket, a backup, or a public repository. API keys, the IPN secret, the Gumroad token, and the Telegram bot token belong in n8n credentials. The shipped workflow files do not contain those values.
Signing the wrong bytes
An HMAC has to cover the raw request body the provider signed. Re-serializing JSON before the comparison can reject a genuine notice or, worse, compare a different string than the one that was signed. The IPN workflow compares the signature against the raw body.
One path for every customer
A Gumroad URL that was copied from an example is not a secret. Generate a new path per installation and set gumroadPathReady only after that path is the one published in Gumroad.
Treating a signature as a finished payment
A valid signature shows the body came from someone who knows the secret. It does not show that the amount, currency, and status still match a sale you are willing to act on. The API read is the second check.
These notes describe the workflow design. They are not a pentest report, and live Gumroad and live NOWPayments were not part of the test run.