Inherited a store running Plisio invoices and I am trying to work out whether the weirdness is the gateway or the previous guy.
Webhook fires two or three times for the same invoice, minutes apart, identical payload. His handler credits the order every time it sees a callback, which is exactly as bad as it sounds and is how I found out.
# what was there
if payload["status"] == "completed":
credit_order(payload["order_number"])
Is the duplicate delivery normal here, or is something misconfigured? And is anyone still on it in 2025 or should I be planning a migration instead of a patch.