# Paypal express checkout, blocking progress

**URL:** <https://community.shopify.dev/t/paypal-express-checkout-blocking-progress/3805>\
**Category:** Extensions\
**Tags:** checkout-ui-ext\
**Created:** [December 10, 2024, 8:44am UTC](https://community.shopify.dev/t/paypal-express-checkout-blocking-progress/3805 "2024-12-10T08:44:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wqeroqiaksldjalq](https://avatars.discourse-cdn.com/v4/letter/w/9de053/32.png) [@wqeroqiaksldjalq](https://community.shopify.dev/u/wqeroqiaksldjalq)\
**Post date:** [December 10, 2024, 8:44am UTC](https://community.shopify.dev/t/paypal-express-checkout-blocking-progress/3805/1 "2024-12-10T08:44:52Z")

</div>

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:

 ![image](https://global.discourse-cdn.com/shopifycommunity/original/2X/6/67818f5586f49f8ed7e3a55d6ee79a21c2cd4c3a.png)

**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.

---

<div class="post-metadata">

**Author:** ![Liam-Shopify](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/liam-shopify/32/6_2.png) [@Liam-Shopify](https://community.shopify.dev/u/Liam-Shopify)\
**Post date:** [December 12, 2024, 8:51am UTC](https://community.shopify.dev/t/paypal-express-checkout-blocking-progress/3805/2 "2024-12-12T08:51:48Z")

</div>

Hi,

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

> **[About the Cart and Checkout Validation Function API](https://shopify.dev/docs/api/functions/reference/cart-checkout-validation)**
>
> The Cart and Checkout Validation API allows developers to provide their own validation of a cart and checkout.
