Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Checkout UI Extension with Shopify billing API

Checkout UI Extension with Shopify billing API

bootsgridDev
Shopify Partner
32 1 3

How to check the subscription status in checkout UI extension and only show the app blocks if the subscription status is "ACTIVE"

 

Please give any solutions or ideas.

Replies 2 (2)

ShopifyDevSup
Shopify Staff
1453 239 535

Hey @bootsgridDev , I've replied to your post here: 

 

- https://community.shopify.com/c/billing-api/checkout-ui-extensions-amp-usage-billing-api/m-p/2593024... 

 

Cheers, 

 

- Kyle G. 

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

bootsgridDev
Shopify Partner
32 1 3

Hi @ShopifyDevSup 

 

Thankyou for the time you have taken to respond to my query.

 

But the post you have mentioned, using "available_if" attribute, which is working only in theme app extension. How can I execute this in my checkout ui extensions.

 

Example:   I want to enable my custom checkout field extensions(checkbox, textfield, select option components) only to my active subscribed users. Please explain how to do that.? I have stored my subscription status in  one metafield, how can I use it to enable or disable my checkout ui extensions in theme editor.