mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-08-28 05:25:33 +00:00
Every checkout call site cleared the stored promo code as soon as `autumn.attach()` resolved, but attach resolving only means Stripe handed back a payment URL. A user who closed or abandoned that checkout page came back with the code already gone from localStorage and the `?discountCode=` param long since stripped, with no way to get it back. Clear centrally instead: `PromoCodeHost` spends the code once the org moves up a plan, which is the point at which the checkout it was captured for actually went through. Downgrades and trial expiries leave an unused code alone. Codes also carry a 30-day expiry now, so one that is never redeemed stops applying to future checkouts instead of discounting them forever. |
||
|---|---|---|
| .. | ||
| browser-extension | ||
| docs | ||
| mcp | ||
| memory-graph-playground | ||
| raycast-extension | ||
| web | ||