Shopify Hydrogen 2024-10 Issue with Cart Currency Code

Topic summary

A Shopify Hydrogen 2024-10 store configured to use EUR is incorrectly displaying USD prices for unauthenticated users.

Key Issues:

  • Unauthenticated users consistently show US as their country in buyerIdentity, resulting in USD pricing despite the store’s EUR configuration
  • Oxygen headers also return US as the value
  • The team is not located in the United States and is not using a VPN

Workaround Observed:

  • The currency corrects itself once users proceed to checkout or log in
  • After authentication, the cart reflects the correct currency based on the user’s actual location

Current Status:
The issue appears related to how Hydrogen detects location/currency for anonymous sessions when Customer Account API is configured. No solution has been identified yet for making currency detection dynamic for unauthenticated users.

Summarized with AI on November 1. AI used: claude-sonnet-4-5-20250929.

We have an store that is using Hydrogen 2024-10 version. We already setup the config to use the Customer Account API, endpoints are already declared and working.

So, the problem comes with unauthenticated users. They have at least for me and other teammate with a always US country in they buyerIdentity. Then the price comes with USD. The store is configured to use EURO.

The ideal situation that this would be dynamic, and can be detected. Also, oxygen headers comes with value as US.

Also in the checkout the situation is resolved because is converted to the correct currency and then is logged in, returning to the store the currency from the cart is fixed.

Also, is worth to mention that we are not based on United States. When we log in and then go to the checkout, then right there is when the currency and prices are based on our country that we’re living. We don’t use an VPN, so we don’t know what can be the real problem