1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 00:22:50 -05:00
Commit Graph

14 Commits

Author SHA1 Message Date
c70195c882 Test org sponsorship service 2021-11-12 20:49:00 -05:00
1d34c276e7 Add sponsorship validation to upcoming invoice webhook 2021-11-12 20:49:00 -05:00
de5a0cb463 Fix double email send 2021-11-12 20:49:00 -05:00
32333048b4 Add resend sponsorship offer api endpoint 2021-11-12 20:49:00 -05:00
9ec8bbb8bb Use upgrade path to change sponsorship
Sponsorships need to be annual to match the GB add-on charge rate
2021-11-12 20:49:00 -05:00
a2467ea6ea Add product type to organization details 2021-11-12 20:49:00 -05:00
094de41c0e Send f4e offer email 2021-11-12 20:48:59 -05:00
8480379e32 Use userId to find org users 2021-11-12 20:48:59 -05:00
1516b9dd8e Add sponsorship service to DI 2021-11-12 20:48:59 -05:00
45f6ec1781 Families for enterprise/stripe integrations (#1699)
* Add PlanSponsorshipType to static store

* Add sponsorship type to token and creates sponsorship

* PascalCase properties

* Require sponsorship for remove

* Create subscription sponsorship helper class

* Handle Sponsored subscription changes

* Add sponsorship id to subscription metadata

* Make sponsoring references nullable

This state indicates that a sponsorship has lapsed, but was not able to
be reverted for billing reasons

* WIP: Validate and remove subscriptions

* Update sponsorships on organization and org user delete

* Add friendly name to organization sponsorship
2021-11-12 20:48:59 -05:00
77bea5755e Add PlanSponsorshipType to db model 2021-11-12 20:48:59 -05:00
1b6d1b52a3 Create sponsorship offer (#1688) 2021-11-12 20:48:59 -05:00
0d9c0bdaea WIP: scaffolding for families for enterprise sponsorship flow 2021-11-12 20:48:59 -05:00
fcbf0f094e WIP: Organization sponsorship flow 2021-11-12 20:48:59 -05:00