fix(core): checkout event (#7844)

This commit is contained in:
forehalo
2024-08-13 03:35:38 +00:00
parent dc41ffbe2f
commit 69c64b2fc2
3 changed files with 12 additions and 5 deletions
@@ -96,6 +96,7 @@ type PaymentEvents =
| 'viewPlans'
| 'bookDemo'
| 'checkout'
| 'subscribe'
| 'changeSubscriptionRecurring'
| 'confirmChangingSubscriptionRecurring'
| 'cancelSubscription'
@@ -155,6 +156,7 @@ const PageEvents = {
accountSettings: ['uploadAvatar', 'removeAvatar', 'updateUserName'],
plans: [
'checkout',
'subscribe',
'changeSubscriptionRecurring',
'confirmChangingSubscriptionRecurring',
'cancelSubscription',
@@ -346,6 +348,7 @@ export type EventArgs = {
oauth: { provider: string };
viewPlans: PaymentEventArgs;
checkout: PaymentEventArgs;
subscribe: PaymentEventArgs;
cancelSubscription: PaymentEventArgs;
confirmCancelingSubscription: PaymentEventArgs;
resumeSubscription: PaymentEventArgs;