Merge pull request #26087 from overleaf/mf-change-to-stripe-uk

[web] Configure to use Stripe UK account

GitOrigin-RevId: 0856f6da2caae8caf9887ec2acea8e7f0972e598
This commit is contained in:
Kristina
2025-06-09 08:05:09 +00:00
committed by Copybot
parent 9e9ad3c005
commit a8df91e91b
9 changed files with 60 additions and 49 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import { TeamInvite } from '../team-invite'
type RecurlyAdminClientPaymentProvider = Record<string, never>
type StripeAdminClientPaymentProvider = PaymentProvider & {
service: 'stripe'
service: 'stripe-us' | 'stripe-uk'
}
export type Subscription = {
@@ -103,7 +103,7 @@ export type MemberGroupSubscription = Omit<GroupSubscription, 'admin_id'> & {
admin_id: User
}
type PaymentProviderService = 'stripe' | 'recurly'
type PaymentProviderService = 'stripe-us' | 'stripe-uk' | 'recurly'
export type PaymentProvider = {
service: PaymentProviderService
+9 -8
View File
@@ -91,15 +91,16 @@ export type RecurlyPlanCode =
export type RecurlyAddOnCode = 'assistant'
export type StripeLookupKey =
| 'standard_monthly'
| 'standard_annual'
| 'professional_monthly'
| 'professional_annual'
| 'student_monthly'
| 'student_annual'
| 'collaborator_may2025'
| 'collaborator_annual_may2025'
| 'professional_may2025'
| 'professional_annual_may2025'
| 'student_may2025'
| 'student_annual_may2025'
// TODO: change all group plans' lookup_keys to match the UK account after they have been added
| 'group_standard_enterprise'
| 'group_professional_enterprise'
| 'group_standard_educational'
| 'group_professional_educational'
| 'error_assist_annual'
| 'error_assist_monthly'
| 'assistant_annual_may2025'
| 'assistant_may2025'