Guest checkout merge with account creation

Tourist
7 0 0

Hi guys,

 

I have an api question re guest checkout and account creation:

 

If our users make guest orders through the website and then log in through our own mobile app (Shopify graphQL API), is there a way to add those guest orders into their account automatically if they are using the same email for both orders?

 

Thanks!

 
0 Likes
Shopify Staff
Shopify Staff
141 24 28

Hi @Cheesegeek ,

 

Yes, as long as the same e-mail address is used for the website guest order as well as the mobile app account login then Shopify will automatically know that this is the same Customer. So through your Shopify store's admin page, you should be able to view this Customer and see all of the orders they made while they were still a guest

 

Hassain | Developer Support Specialist @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes
Tourist
7 0 0

Hi Hassain,

 

This has been really helpful, thanks. I have a follow up...

 

What happens if someone makes a purchase with a guest checkout, and then wants to create an account with the same email address....does that work?

 

I'm getting an error at the moment that says 'email address already in use'

 

Thanks

Richard

0 Likes
Shopify Staff
Shopify Staff
141 24 28

Hi @Cheesegeek ,

 

If the user has previously made a purchase only through Guest Checkout, and then later decided to create an account with the same e-mail address, they should have no issues getting the account invite sent to them and having their account made. If you are seeing that error that says 'email address is already in use' then most likely this user has already created their account previously with this store. 

 

If you are confident that an account with this e-mail address was not previously made yet you are still seeing this error, could you provide your Shopify shop name (or shop ID if you are more comfortable with that) and the customer ID of the customer with this issue so we could investigate into this further? Alternatively, you could use the "Forgot my Password" functionality to confirm whether or not this account was created and reset the password if it was

 

Hassain | Developer Support Specialist @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

1 Like
Tourist
7 0 0

That's great, thanks Hassain for you help

0 Likes