Commit Graph

35 Commits

Author SHA1 Message Date
KinfeMichael Tariku
06ca627a6a fix: demo build & upgrades (#2848) 2025-05-31 00:22:02 -07:00
Bereket Engida
c1216a988d demo: add impersonation stop button and admin user configuration 2025-03-04 14:33:04 +03:00
Bereket Engida
16f082c014 demo: remove empty string as a fallback img src 2025-03-04 08:43:36 +03:00
Bereket Engida
0c7a098e95 fix(organization): improve type inference and session handling 2025-03-01 02:36:52 +03:00
Bereket Engida
4f56078e4b feat: stripe plugin to handle subscriptions and customers (#1588)
* init

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* feat(stripe): enable subscription support and update pricing plans

* feat(stripe): add Vitest configuration and initial tests for Stripe integration

* feat(stripe): implement setCookieToHeader function and update tests for customer creation and subscription handling

* feat(stripe): add seats support for subscriptions and update related endpoints

* feat(stripe): update schema to include unique referenceId, stripeSubscriptionId, and periodEnd fields

* wip docs

* docs

* docs: imporves

* fix(stripe): update webhook handlers to use correct subscription identification

* refactor(stripe): simplify customer management by storing Stripe customer ID directly on user

* chore(stripe): update package configuration and build setup

- Migrated from tsup to unbuild for build configuration
- Updated package.json with improved export and dependency management
- Added build configuration for better module support
- Removed tsup configuration file

* chore(stripe): update pnpm lockfile dependencies

- Moved `better-auth` from devDependencies to dependencies
- Added `zod` as a direct dependency
- Reorganized package dependencies in the lockfile

* feat(stripe): enhance subscription management and error handling

- Added toast error handling for subscription upgrades in the dashboard
- Updated Stripe price IDs for different plans
- Improved Stripe plugin documentation with beta warning and team subscription details
- Implemented intermediate redirect for checkout success to handle race conditions
- Added support for fetching and updating subscription status after checkout
- Fixed Next.js cookie handling and build configuration

* chore: update snapshot
2025-03-01 01:20:17 +03:00
Bereket Engida
55a3cd3c47 demo: client only auth demo 2025-02-27 10:38:11 +03:00
Bereket Engida
201ea79470 fix: session should update every time when update age set to 0 (#606) 2024-11-20 22:36:42 +03:00
Bereket Engida
d4e731bba3 demo: update apis 2024-11-20 22:08:24 +03:00
Bereket Engida
4ccd60865a chore: update demo 2024-11-18 15:14:25 +03:00
Bereket Engida
a3b9baba53 chore: update demo 2024-11-18 14:24:16 +03:00
Bereket Engida
e442627c61 chore: update demo 2024-11-18 14:23:58 +03:00
Bereket Engida
faf809796a fix: react client missing null union on useSession 2024-11-15 14:32:27 +03:00
Bereket Engida
ff3389c3a5 chore: fix type issue demo 2024-11-15 14:29:47 +03:00
Bereket Engida
2ba1584736 feat: one tap (#419) 2024-11-05 01:59:31 +03:00
Bereket Engida
6c1b1d3c6b fix: tsc failing on deployment (#407) 2024-11-04 01:12:38 +03:00
Bereket Engida
1c7606d61e refactor: remove user prefix from endpoints (#358) 2024-10-28 12:33:59 +03:00
Bereket Engida
29c698286a feat: require verification before enabling twofactor (#276) 2024-10-21 14:12:57 +03:00
Bereket Engida
c68bb8a347 demo: fix types 2024-10-14 15:15:52 +03:00
Bereket Engida
33223fd575 feat: admin plugin (#117) 2024-10-11 21:16:21 +03:00
Bereket Engida
de3db23574 feat: add support for typed additional fields on core tables (#123) 2024-10-09 14:40:29 +03:00
Bereket Engida
1e10725f8b demo: fix dep issues 2024-09-28 00:00:50 +03:00
Bereket Engida
74a3e9a311 docs: 2fa imporvs 2024-09-26 11:57:49 +03:00
Bereket Engida
d4f4b94386 chore: lint project 2024-09-26 08:14:28 +03:00
Bereket Engida
287224c850 fix: email verfication 2024-09-25 23:39:30 +03:00
Bereket Engida
d6b3474bfd demo: fix minor issue 2024-09-24 02:41:58 +03:00
Bereket Engida
6c9782202f fix: add rate limter error 2024-09-24 02:41:01 +03:00
Bereket Engida
db761d4358 fix: demo 2024-09-23 14:14:19 +03:00
Bereket Engida
f3c7de2c40 feat: session and user management docs 2024-09-22 22:56:03 +03:00
Bereket Engida
1554e770b4 feat: rate limiter 2024-09-18 14:20:09 +03:00
Bereket Engida
4a7fd8f5ab demo: change og 2024-09-17 19:34:55 +03:00
Bereket Engida
9b305ef75f demo: fix margin 2024-09-17 18:51:43 +03:00
Bereket Engida
43419f38f8 fix: add responsivness 2024-09-17 18:49:41 +03:00
Bereket Engida
55af4b300d feat: demo imporves 2024-09-17 17:25:06 +03:00
Bereket Engida
044ba402cc fix: a bunch of fixes 2024-09-16 22:06:27 +03:00
Bereket Engida
c945d1ba95 feat: demo 2024-09-16 13:53:41 +03:00