Guest checkout merge with account creation

Highlighted
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
Highlighted
Shopify Staff (Retired)
Shopify Staff (Retired)
624 102 129

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
Highlighted
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
Highlighted
Shopify Staff (Retired)
Shopify Staff (Retired)
624 102 129

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 

Highlighted
Tourist
7 0 0

That's great, thanks Hassain for you help

0 Likes
Highlighted
New Member
1 0 0

Due to legal regulations our brand does not want this behavior to happen. Is there any way to make that  whenever a customer is using to register a new account the same  email that was previously he used earlier to buy as a guest , that no verification email is sent, but that the customer could create a new account. Then all the order history from his guest purchases is deleted.

The main issue is that due to GDPR compliance, we don't want to link transactions as a guest with the transactions that the customer started doing when he finally decided to become a registered member.

0 Likes