Re: Limiting checkout to multipass users

Limiting checkout to multipass users

ChrisVanOpstal
Shopify Partner
3 0 1

We are successfully using multipass to authenticate our users with our shop. We are using the multipass_identifier to match checkouts with our core system which is how we fulfill digital orders.

 

This works well 99% of the time, except on some Shop Pay and Apple Pay checkouts the multipass_identifier is coming through as null. We have confirmed that the user is initially logging in using multipass, but somewhere along the way the multipass_identifier is getting lost.

 

Is there any way -- via checkout scripts or other methods -- to prevent users from checking out of the multipass_identifier is not found?

 

 

Replies 4 (4)

Liam
Community Manager
3108 341 879

Hi ChrisVanOpstal,

 

Shopify's checkout scripts are limited in terms of modifying the checkout flow or preventing users from checking out based on specific conditions, (such as if `multipass_identifier` is not found) so there might be some other tactics you could explore to determine why the identifier is getting lost for a small number of cases. I would first look at these options:

  1. Investigate Checkout Flow: Carefully examine the checkout flow for Shop Pay and Apple Pay checkouts to identify any potential points where the `multipass_identifier` may be lost. Check if there are any customizations or modifications to the default Shopify checkout flow that could interfere with the Multipass integration. Are there any commonalities (eg geoloaction, referral source, customer tags, etc) to orders which are being affected?

  2. Review Payment Gateway Configuration: Review your payment gateway configurations, particularly for Shop Pay and Apple Pay. Ensure that the integration with these payment gateways is properly set up and that it doesn't inadvertently affect the multipass_identifier during the checkout process.

Hope these help! Other folks here from the developer community might also have suggestions to try too.

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

ChrisVanOpstal
Shopify Partner
3 0 1

Liam,

 

Much appreciated. We reviewed all of our settings and noticed that we had "Sign in with Shop" enabled since we assumed we needed this for Shop Pay. We disabled this and tested Shop Pay and it appears to work. We are continuing testing to see if this resolve the issue.

 

Really appreciate the response.

Liam
Community Manager
3108 341 879

Great to hear this is working for you!

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

ChrisVanOpstal
Shopify Partner
3 0 1

Liam,

 

Unfortunately that did not resolve the issue. We received another order with a null multipass_identifier despite the "Sign in with Shop" being disabled.

 

We have reviewed all of the setup a few more times but have not spotted any other settings that might impact this. We have also reviewed scripts and not found anything that would impact this.

 

Do you have any other suggestions? We really want to prevent any checkouts without the multipass_identifier being set.