diff --git a/client/a8c-for-agencies/sections/marketplace/checkout/request-client-payment.tsx b/client/a8c-for-agencies/sections/marketplace/checkout/request-client-payment.tsx index 327902ca6dff5..43825d8c1b73f 100644 --- a/client/a8c-for-agencies/sections/marketplace/checkout/request-client-payment.tsx +++ b/client/a8c-for-agencies/sections/marketplace/checkout/request-client-payment.tsx @@ -74,7 +74,7 @@ function RequestClientPayment( { checkoutItems }: Props ) { const { data: tipaltiData } = useGetTipaltiPayee(); useEffect( () => { - if ( ! tipaltiData.IsPayable ) { + if ( tipaltiData && ! tipaltiData.IsPayable ) { setTipaltiActionRequiredVisible( true ); } }, [ tipaltiData ] ); @@ -165,7 +165,7 @@ function RequestClientPayment( { checkoutItems }: Props ) { onClick={ () => dispatch( recordTracksEvent( 'calypso_a4a_client_referral_form_email_click' ) ) } - disabled={ ! tipaltiData.IsPayable } + disabled={ ! tipaltiData?.IsPayable } />
dispatch( recordTracksEvent( 'calypso_a4a_client_referral_form_message_click' ) ) } - disabled={ ! tipaltiData.IsPayable } + disabled={ ! tipaltiData?.IsPayable } />