Gumroad ping arrived after the refund
Updated 22 Nov 2026.
Gumroad Ping is at-least-once and unordered. A refund ping can arrive before the sale ping. A cancellation ping is not the end of a membership. If your handler is a sequence of steps ("sale, then maybe refund"), a refund that shows up first has nowhere to go, and the later sale can grant a license you already owe back.
These facts were checked on 22 November 2026 against the Gumroad Ping docs, the API docs, and Gumroad's open-source code.
Store facts, not steps
Each sale keeps a set of facts: seen, fully refunded, partially refunded, disputed, dispute won, revoked. A ping can only turn a fact on, never off. Arrival order stops mattering. A repeated ping changes nothing.
// Decision after merging facts, not after "the last ping."
// No sale seen yet (refund arrived first): no access, reason awaiting_sale
// Sale seen, no refund or dispute: access
// Fully refunded, or revoked, or a lost dispute: no access
function accessForSale(facts: {
seen: boolean;
fullyRefunded: boolean;
revoked: boolean;
disputed: boolean;
disputeWon: boolean;
}): { canAccess: boolean; reason: string } {
if (!facts.seen) return { canAccess: false, reason: "awaiting_sale" };
if (facts.fullyRefunded) return { canAccess: false, reason: "refunded" };
if (facts.revoked) return { canAccess: false, reason: "revoked" };
if (facts.disputed && !facts.disputeWon) return { canAccess: false, reason: "disputed" };
return { canAccess: true, reason: "active" };
}
When the refund lands first, the sale is awaiting_sale and there is no license.
When the sale ping arrives later, the fully-refunded fact is already on, so access stays off.
A partial refund still arrives as a refund ping, with refunded=false.
Hamichi leaves access on for a partial refund by default, with an option to revoke it.
Cancellation is not the end of the period
A cancellation ping means the subscriber cancelled. Access runs to the end of the
paid period. Access ends at subscription_ended. A later
subscription_restarted turns it back on, judged by timestamps, with a tie counting as ended.
Confirm what a ping is allowed to claim
Signing is opt-in: X-Gumroad-Signature: t=<unix>,v1=<hex>, HMAC-SHA256 of
t + "." + raw body. Turn it on in Gumroad's settings. API resource subscriptions
(refund, dispute, cancellation, subscription_*) are not signed. Use an unguessable
?token= on their post_url, and confirm a sale against
GET /v2/sales/:id (view_sales scope) when the ping is one you should not trust on arrival alone.
The Hamichi Seller Ping Kit merges those facts so a refund that beats the sale still ends with no license. The payout side of the same shop is When the first dollar actually lands: a dashboard sale is not a bank credit yet. Fees and payout tradeoffs are in Gumroad vs Lemon Squeezy vs Paddle.