Checkout redirect does not work for new users (it does for existing users)

Hi All,

I have a store that requires users to be authenticated before they are able to buy a product.

So the flow should look like this:

  • Client clicks on the product they want to buy

  • Client is redirected to the login/register page

  • Client is redirected to the checkout

At the moment the above flow just works if the user has already an account and has to log in:

  • Client clicks on the product they want to buy

  • Client is redirected to the login (username and password)

  • Client is redirected to the checkout

But when the user tries to create a new account, the redirect does not work:

  • Client clicks on the product they want to buy

  • Client is redirected to the login

  • Client clicks Register new user

  • Client enters all the information required

  • Client is redirected to the homepage!

I have checked the code and noticed that on one page (the login) there is a hidden field called checkout_url, but even if I add this to the registration form the redirect does not work.

Same issue here! I’ve been trying to find a solution for a while.

Did you ever find a solution for this or get help from Shopify?

Having the exact same issue on a customer site.