diff --git a/src/Payments/GPay.res b/src/Payments/GPay.res index dea08587f..08c3493d9 100644 --- a/src/Payments/GPay.res +++ b/src/Payments/GPay.res @@ -79,6 +79,12 @@ let make = ( ) } + UtilityHooks.useHandlePostMessages( + ~complete=areRequiredFieldsValid, + ~empty=areRequiredFieldsEmpty, + ~paymentType="google_pay", + ) + React.useEffect(() => { let handle = (ev: Window.event) => { let json = try {