supermemory/apps/web/components/integrations
rajashidattapy e8eaac71fb fix(web): keep the discount code until the upgrade actually completes
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.
2026-08-20 00:02:43 +05:30
..
chrome-detail.tsx chore: improve the codebase with react doctor (#917) 2026-05-09 19:12:01 +00:00
install-steps.tsx feat(web): add staff custom MCP connection cards (#1199) 2026-07-06 06:11:09 +00:00
integration-grid-card.tsx feat: enhanced the integration page for more conversion (#899) 2026-05-04 17:41:52 +00:00
plugins-detail.tsx fix(web): keep the discount code until the upgrade actually completes 2026-08-20 00:02:43 +05:30
raycast-detail.tsx Fix Raycast API key bug and redesign setup modal (#960) 2026-05-17 23:15:04 +00:00
raycast-setup-modal.tsx Fix Raycast API key bug and redesign setup modal (#960) 2026-05-17 23:15:04 +00:00
shortcuts-detail.tsx Fix integrations layout and mobile promo responsiveness (#1481) 2026-08-17 18:47:36 +00:00