Skip to content

checkout object webUrl changed from 'checkouts' to 'cart' after upgrading from v2 to v3 breaking our attribution tracking #1017

Open
@arenoir

Description

@arenoir

Bug details

Describe the bug
After upgrading from v2 to v3 of this package the checkout object webUrl property changed from.

https://my-store.myshopify.com/\d+/checkouts/

TO

https://my-store.myshopify.com/cart/

The new "/cart" url then redirects to the original checkouts url however all query params that we have append to the webURL property are lost on redirect.

Why does the webURL property return a "cart" redirect url and how can we fix this?

Thank you.

To Reproduce
upgrade from v2 to v3

Expected behavior
Expect the webUrl to stay the same between upgrades or at least the query params to be passed through to the checkouts url on redirect.

Environment (please complete the following information):

  • OS: all
  • Browser all
  • Shopify API version: '2025-01';

Bug Report Checklist

  • I have read and agree to the CODE_OF_CONDUCT.md
  • I have read the CONTRIBUTING.md guidelines.
  • I have provided a detailed description of the bug, including code samples, and/or network data.
  • I have provided information about my development environment, including SDK version.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions