KamoCRM

Real promo codes — codes that must be typed, once per organization, duration in billing periods, archive, redemptions without a POS order, an audit trail, plain refusal sentences, MANAGE_PROMO_CODES platform right (Universe Launch UP.1)

Featurekamo-shared-library
Shipped
15 พฤศจิกายน 2569 เวลา 21:24 UTC
Author
Kamo
Commit
e147652

Built on the existing seller-owned SubscriptionPromotion rather than a parallel table: requiresCode keeps a code off the public feed and the automatic live offer; isAutomaticOffer is the one predicate for that. POS createOrder now matches the code case-insensitively (a lower-case code was discounted but never recorded), claims the slot atomically, records the buyer org and writes REDEEMED/REFUSED audit rows. Hand DDL applied first **************** every column is on the entities.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing