checkoutUrl redirects to Shopify store front instead of checkout

Derek78756
Tourist
7 0 11

We've been using Shopify as a headless solution for 3 years and were notified by customers today that our checkout was broken.  When we redirected the customers to the Shopify checkoutUrl from the Cart object they were getting redirected to our Shopify storefront page instead.

 

Since we have our own website, we've always just had a password protected Shopify storefront but I found that when I removed the password the checkoutUrl started working as expected again.

 

Our last sale was at 1:16am CST so I know it worked up until that point.  I assume some code change was made by Shopify that prevents the checkoutUrl from working if the Shopify storefront was password protected.

 

Annoying that we went for most of the day without any sales due to this.

Replies 9 (9)

dheersingh
Shopify Partner
3 0 3

Unfortunately, I am also facing this issue and our live website is experiencing this issue. We have a headless implementation of Shopify on our site, when a customer checks out from our headless store, we redirect to a checkouturl provided by shopify graphql api. Now checkouturl is getting redirected to storefront password page. It was working fine earlier.

 

Derek78756
Tourist
7 0 11

As a workaround, I removed our store password and just made a basic storefront page with a button that directs them to our website.  It would be great if some Shopify developer saw this and documented the issue!

brownca4
Visitor
2 0 0

same! Have you found an answer yet?

Derek78756
Tourist
7 0 11

Unfortunately not, unless the Shopify devs fix the issue it looks like this is how it will work going forward. 😞 

 

 I removed our store password and just made a basic storefront page with a button that directs them to our website in addition to editing the liquid templates to remove any navigation items to other pages.  Technically someone could navigate to an inner page if they knew the exact address.

vknez
Shopify Partner
1 0 0

We have the exact same issue. We're headless, with Shopify store on custom domain and password protected.

For logged in users we use Multipass and with it the checkout works correctly:

[Redirects]

1. https://custom-domain/xyz/checkouts/xyz?key=xyz
2. https://custom-domain/checkouts/co/xyz

However, when we don't use Multipass, for anonymous shoppers (I disabled custom domain to have less redirects to report below):

[Redirects]
1. https://shopify-domain/cart/c/xyz
2. https://shopify-domain/checkouts/cn/xyz
3. https://shopify-domain/cart
4. https://shopify-domain/password


rpatel
Shopify Partner
1 0 0

This is also happening to us. Very disappointed to see no one from Shopify answering 

vamshiaruru
Shopify Partner
4 0 1

Still happening. No response yet either. Sad to see.

mahaboobkhan29
Visitor
2 0 1

Still now facing this issue any solution please share 

calebmcquaid
Shopify Partner
1 0 0

Happening to me too. Please help, Shopify!