How to use Shopify Checkout Url when redirecting domain to another application

Hi there,

I have a Nextjs application hosted on Vercel that uses the Shopify Storefront API. I recently pointed my Shopify domain to my Nextjs application so that the url now directs users to the custom application. Since doing this I see that I can no longer rely on the checkoutUrl value returned from the Cart query because it now points to my application vs the Shopify hosted checkout page. When I use this url I get redirected to a route on my app that I did not build out. Is there another url I can use that will point my customers to the Shopify hosted checkout experience where a user can use all the pre-supplied payment methods setup through my Shopify dashboard?

Thank you!

1 Like