mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
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:
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user