mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 21:23:45 +01:00
[web] Add paymentMethod segment to payment-page-form events (#35583)
* Add paymentMethod segment to `payment-page-form-submit` event * Add paymentMethod segment to `payment-page-form-success` event GitOrigin-RevId: 7ad1d18d3f4ed38d39f4336790581604ddae749e
This commit is contained in:
@@ -3,12 +3,14 @@ import {
|
||||
PaymentProvider,
|
||||
StripePaymentProviderService,
|
||||
} from './dashboard/subscription'
|
||||
import { PaymentMethod } from './payment-method'
|
||||
import { RecurlyPlanCode } from './plan'
|
||||
|
||||
type PaymentPageFormSubmitEventBaseSegmentation = {
|
||||
currencyCode: CurrencyCode
|
||||
plan_code?: string
|
||||
isPaypal: boolean
|
||||
paymentMethod: PaymentMethod
|
||||
upgradeType: 'standalone'
|
||||
referrer?: string
|
||||
}
|
||||
@@ -46,6 +48,7 @@ type PaymentPageFormSuccessEventStripeSegmentation =
|
||||
payment_provider: StripePaymentProviderService
|
||||
stripe_price_id: string
|
||||
stripe_price_lookup_key: string
|
||||
paymentMethod: PaymentMethod
|
||||
}
|
||||
|
||||
type PaymentPageFormSuccessEventRecurlySegmentation =
|
||||
|
||||
Reference in New Issue
Block a user