What's your biggest current challenge? Have your say in Community Polls along the right column.
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Errors in Checkout for Some Users: Redirect URI Mismatch

Errors in Checkout for Some Users: Redirect URI Mismatch

mcanaleta
Shopify Partner
4 0 0

Hi everyone,

 

I'm sharing an issue we've been experiencing for a few days. Our Hydrogen store at https://outlet-pc.com/ has been running smoothly for several months, but now some users are reporting that they cannot complete the checkout. They encounter a "redirect_uri mismatch" error.

 

From their descriptions, the error seems to occur when they click the checkout button, which is a link to the checkout URL, to which we append the parameter "logged_in=true" if they are logged in. Clearing the cache appears to resolve the issue. I've attached a screenshot.

mcanaleta_0-1716882141603.png

 

Thanks,

 

Replies 2 (2)

jamalsoueidan
Shopify Partner
66 3 9

Did you update to the latest version hydrogen?

mcanaleta
Shopify Partner
4 0 0

No, it was an issue on the Shopify side. It was only affecting Shop Pay authenticated users when using the logged_in parameter.

Initially, we did a workaround by disabling the logged_in parameter; although this affected the user experience, users could at least complete the checkout.

Finally, Shopify fixed the issue, and it is working correctly again now.

Thanks.