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

Using checkoutUrl on button's to attribute does not work on thank-you page #2584

Open
abid-devsnest opened this issue Jan 24, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@abid-devsnest
Copy link

abid-devsnest commented Jan 24, 2025

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

@shopify/ui-extensions 2024.10.x
@shopify/ui-extensions-react 2024.10.x

Describe the bug

After obtaining checkoutUrl from cartCreate storefront mutation, if I use in button's to attribute, it redirects me to thank-you page instead of going to the new checkout page.

Steps to reproduce the behavior:

  1. Get checkoutUrl using cartCreate mutation
  2. Set checkoutUrl to to attribute
  3. Click the button

Expected behavior

It should redirect to the new checkout page

Screenshots

Additional context

@abid-devsnest abid-devsnest added the bug Something isn't working label Jan 24, 2025
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