mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 05:41:33 +02:00
Merge pull request #28263 from overleaf/kh-add-create-complete-stripe-subscription
[web] add API endpoints for creating & completing Stripe custom checkout subscriptions GitOrigin-RevId: 70add674e4a622d409c26e40f64b57812284191c
This commit is contained in:
@@ -12,3 +12,10 @@ export type ProductMetadata = Stripe.Metadata & {
|
||||
planCode: MetadataPlanCode
|
||||
addOnCode?: Extract<RecurlyPlanCode, 'assistant'>
|
||||
}
|
||||
|
||||
export type SubscriptionMetadata = Stripe.Metadata & {
|
||||
adminUserId?: string
|
||||
itm_campaign?: string
|
||||
itm_content?: string
|
||||
itm_referrer?: string
|
||||
}
|
||||
|
||||
@@ -129,3 +129,12 @@ export type SubscriptionRequesterData = {
|
||||
id?: string
|
||||
ip?: string
|
||||
}
|
||||
|
||||
export type SubscriptionBillingAddress = {
|
||||
line1?: string
|
||||
line2?: string
|
||||
city?: string
|
||||
state?: string
|
||||
postal_code: string
|
||||
country: string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user