badge service: say why store products are not in the seeded catalog

This commit is contained in:
spaced4ndy
2026-10-01 16:48:15 +04:00
parent 2f878af8a7
commit f495e8b8c0
@@ -144,6 +144,7 @@ data StoreProduct = StoreProduct
-- | A receipt proves only the product paid for, so the badge comes from here, never from the client.
-- Mirrors the one-time SKUs of BadgeStore.swift and .kt; subscriptions wait until renewals add months.
-- Not part of the seeded catalog above, which exists to pin prices this service sets: a store sets its own.
storeProduct :: PaymentProvider -> Text -> Maybe StoreProduct
storeProduct provider productId = case (provider, productId) of
(PPApple, "BADGE_SUPPORTER_01") -> Just $ StoreProduct BTSupporter 1