Paypal express checkout, blocking progress

Hello!
Is there a way to dynamycally disable this button until customer fills some data in checkout form?
The screenshot of the button is attached:

Actual result:
I can just ignore the whole checkout form, click on paypal, sign in to paypal and even pay for a product.

Expected result:
“Express checkout Paypal” button dynamically disabled depending on form’s values

What I already did:

  • Checkout UI block, to write there a logic about checking values and blocking a progress
  • useBuyerJourneyIntercept to make a “blocking”
  • useShippingAddress + useBillingAddress to access values of form

Note:
This solution works only with “default” checkout proceeding, using a button that are usually at the bottom of all forms.
However, it doesn’t work with this “Paypal” button on the top of the page.

Hi,

Have you checked out the the Cart and Checkout Validation Function API?