From 30f2e52589cbc45fb9673d6fb55f66e220427e25 Mon Sep 17 00:00:00 2001 From: M Fahru Date: Tue, 28 Jan 2025 07:00:57 -0700 Subject: [PATCH] Merge pull request #23149 from overleaf/mf-disable-paypal-submit-unchecked-student-confirm [web] Disable paypal submit button if student confirmation checkbox is not checked GitOrigin-RevId: 3c8ca624399e249a48ac0be48cb0c5c0b4170d30 --- services/web/types/subscription/payment-context-value.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/web/types/subscription/payment-context-value.tsx b/services/web/types/subscription/payment-context-value.tsx index 16384b655f..0c57621d8b 100644 --- a/services/web/types/subscription/payment-context-value.tsx +++ b/services/web/types/subscription/payment-context-value.tsx @@ -69,4 +69,6 @@ export type PaymentContextValue = { updateCountry: (country: PricingFormState['country']) => void userCanNotStartRequestedTrial: boolean showStudentConfirmation: boolean + studentConfirmationChecked: boolean + setStudentConfirmationChecked: React.Dispatch> }