1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-24 12:35:25 +01:00
bitwarden-server/test/Billing.Test
Alex Morask c442bae2bc
[AC-1693] Send InvoiceUpcoming Notification to Client Owners (#3319)
* Add Organization_ReadOwnerEmailAddresses SPROC

* Add IOrganizationRepository.GetOwnerEmailAddressesById

* Add SendInvoiceUpcoming overload for multiple emails

* Update InvoiceUpcoming handler to send multiple emails

* Cy's feedback

* Updates from testing

Hardened against missing entity IDs in Stripe events in the StripeEventService. Updated ValidateCloudRegion to not use a refresh/expansion for the customer because the invoice.upcoming event does not have an invoice.Id. Updated the StripeController's handling of invoice.upcoming to not use a refresh/expansion for the subscription because the invoice does not have an ID.

* Fix broken test
2023-10-23 13:46:29 -04:00
..
Controllers [PM-153] Extend Freshdesk integration (#2939) 2023-05-23 14:43:44 +02:00
Resources/Events [PM-212] Sync Organization Billing Email from Stripe Webhook (#3305) 2023-10-11 15:57:51 -04:00
Services [AC-1693] Send InvoiceUpcoming Notification to Client Owners (#3319) 2023-10-23 13:46:29 -04:00
Utilities [PM-212] Sync Organization Billing Email from Stripe Webhook (#3305) 2023-10-11 15:57:51 -04:00
Billing.Test.csproj [PM-212] Sync Organization Billing Email from Stripe Webhook (#3305) 2023-10-11 15:57:51 -04:00
packages.lock.json [PM-212] Sync Organization Billing Email from Stripe Webhook (#3305) 2023-10-11 15:57:51 -04:00