Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

useCheckoutToken hook not return a token #2466

Open
hashcott opened this issue Nov 12, 2024 · 0 comments
Open

useCheckoutToken hook not return a token #2466

hashcott opened this issue Nov 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@hashcott
Copy link

Please list the package(s) involved in the issue, and include the version you are using

    "@shopify/ui-extensions": "2024.1.x",
    "@shopify/ui-extensions-react": "2024.1.x",

Describe the bug

I have already defined const checkoutToken = useCheckoutToken(); on the screen customer-account.order-status.block.render, but for some reason, the token cannot be received. Is there a solution to fix this issue?

Steps to reproduce the behavior:

  1. checkout
  2. order status screen

Expected behavior

useCheckoutToken returns an undefined token.

Screenshots

Additional context

@hashcott hashcott added the bug Something isn't working label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant